Skip to content

Commit

Permalink
chore: add gha-lint and rename file ext from yaml to yml for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tricky42 committed Oct 23, 2024
1 parent bd64ef4 commit 8b73357
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
File renamed without changes.
27 changes: 27 additions & 0 deletions .github/workflows/gha-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Validation - GHA Linter
on:
merge_group:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- master

jobs:
validate:
name: Validate GHA
timeout-minutes: 5
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
base: master
filters: |
workflows:
- '.github/**'
- name: actionlint
if: ${{ steps.filter.outputs.workflows == 'true' }}
uses: raven-actions/actionlint@v2
2 changes: 1 addition & 1 deletion .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
go-version: "1.23"
- uses: actions/setup-node@v2

Check failure on line 18 in .github/workflows/licenses.yml

View workflow job for this annotation

GitHub Actions / Validate GHA

the runner of "actions/setup-node@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue
with:
node-version: "18"
node-version: "20"
- run: make licenses
File renamed without changes.

0 comments on commit 8b73357

Please sign in to comment.