Skip to content

Commit

Permalink
chore(linters): Make yamlfmt force lines to be <80 when possible (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov authored Feb 12, 2025
1 parent e315347 commit a08db09
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/stale-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@ jobs:
stale-issue-label: stale
stale-pr-label: stale
stale-issue-message: >
This issue has been automatically marked as stale because it has been
open 30 days
with no activity. Remove stale label or comment or this issue will be
closed in 10 days
This issue has been automatically marked as stale because it has
been open 30 days with no activity. Remove stale label or comment
or this issue will be closed in 10 days
stale-pr-message: >
This PR has been automatically marked as stale because it has been
open 30 days
with no activity. Remove stale label or comment or this PR will be
closed in 10 days
open 30 days with no activity. Remove stale label or comment or
this PR will be closed in 10 days
# Not stale if have this labels or part of milestone
exempt-issue-labels: bug,wip,on-hold,auto-update
exempt-pr-labels: bug,wip,on-hold
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ jobs:
- name: '[Verification] Negative test: Missing required image parameter'
# It will not be able to create comment outside PR. result in main branch:
# Not Found - https://docs.github.com/rest
if: always() && steps.pre-setup.outcome == 'success' && github.ref != 'refs/heads/main'
if: always() && steps.pre-setup.outcome == 'success' && github.ref !=
'refs/heads/main'
shell: bash
run: |
error_message="${{ steps.missing-required.outputs.error }}"
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ repos:
- --mapping=2
- --sequence=4
- --offset=2
- --width=100
- --width=75
- --implicit_start

- repo: https://github.com/adrienverge/yamllint.git
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ name: Dive CI
on:
pull_request:

permissions:
contents: read

jobs:
dive:
permissions:
Expand Down

0 comments on commit a08db09

Please sign in to comment.