Skip to content

Commit

Permalink
feat(ci): lint action files
Browse files Browse the repository at this point in the history
  • Loading branch information
youben11 committed Oct 31, 2024
1 parent 2447acf commit ea889ae
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/action-pin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Action Pin

on:
pull_request:
push:
branches:
- main

jobs:
check-action-pin:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@0901cf7b71c7ea6261ec69a3dc2bd3f9264f893e # v3.0.12
16 changes: 16 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Action Lint

on:
pull_request:
push:
branches:
- main

jobs:
action-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: actionlint
uses: raven-actions/actionlint@01fce4f43a270a612932cb1c64d40505a029f821 # v2.0.0

0 comments on commit ea889ae

Please sign in to comment.