Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/lint.yaml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,21 @@ jobs:
- uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4
with:
advanced-security: false

extensions:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: GitHub Actions files end in .yml, other YAML files in .yaml
run: |
wrong=$(
git ls-files '.github/*.yaml' 'action.yaml' '*/action.yaml'
git ls-files '*.yml' ':!.github/*' ':!action.yml' ':!*/action.yml'
)
if [ -n "$wrong" ]; then echo "$wrong"; exit 1; fi
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
permissions: {}
jobs:
lint:
uses: ./.github/workflows/lint.yaml
uses: ./.github/workflows/lint.yml
permissions:
contents: read

test:
uses: ./.github/workflows/test.yaml
uses: ./.github/workflows/test.yml
permissions:
contents: read

Expand Down
File renamed without changes.
Loading