Skip to content

Commit 63a7468

Browse files
sjnimsclaude
andcommitted
chore: clean up validate-workflows configuration
- Use double quotes consistently for YAML paths - Add timeout-minutes for job safety - Simplify reviewdog configuration (fail_level replaces fail_on_error) - Remove redundant GITHUB_TOKEN env (reviewdog handles this) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c1e12dd commit 63a7468

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/validate-workflows.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,32 @@ name: Validate Workflows
33
on:
44
pull_request:
55
paths:
6-
- '.github/workflows/**'
6+
- ".github/workflows/**"
77
push:
88
branches:
99
- main
1010
paths:
11-
- '.github/workflows/**'
11+
- ".github/workflows/**"
1212

1313
concurrency:
1414
group: ${{ github.workflow }}-${{ github.ref }}
1515
cancel-in-progress: true
1616

1717
permissions:
1818
contents: read
19-
pull-requests: write
19+
pull-requests: write # Required for reviewdog PR comments
2020

2121
jobs:
2222
actionlint:
2323
name: Lint GitHub Actions Workflows
2424
runs-on: ubuntu-latest
25+
timeout-minutes: 5
2526
steps:
2627
- name: Checkout code
2728
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2829

29-
- name: Run actionlint
30+
- name: Run actionlint with reviewdog
3031
uses: reviewdog/action-actionlint@83e4ed25b168066ad8f62f5afbb29ebd8641d982 # v1.69.1
3132
with:
32-
fail_on_error: true
3333
reporter: github-pr-review
34-
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
fail_level: error

0 commit comments

Comments
 (0)