Skip to content

Commit

Permalink
Try to ignore release.yml
Browse files Browse the repository at this point in the history
Run from docker directly
  • Loading branch information
sourcefrog committed Jan 28, 2024
1 parent a400c68 commit 545e306
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ on:
pull_request:
paths:
- ".github/workflows/*.yml"
- "!.github/workflows/release.yml" # generated
push:
branches:
- main
paths:
- ".github/workflows/*.yml"
- "!.github/workflows/release.yml"
workflow_dispatch:

permissions:
Expand All @@ -21,12 +19,10 @@ jobs:
action-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: devops-actions/actionlint@v0.1.2
id: action-lint

- uses: actions/upload-artifact@v4
if: always()
- uses: actions/checkout@v4
- name: Check workflow files
uses: docker://rhysd/actionlint:latest
with:
name: actionlint-results
path: ${{ steps.action-lint.outputs.results-file }}
args: |
-color $(find .github/workflows -name '*.yml' -type f ! -name
release.yml -print)

0 comments on commit 545e306

Please sign in to comment.