ci: add validation workflow
This commit is contained in:
parent
2f58ee5312
commit
03b8c38053
1 changed files with 23 additions and 0 deletions
23
.forgejo/workflows/validate-shared-actions.yml
Normal file
23
.forgejo/workflows/validate-shared-actions.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: validate-shared-actions
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
validate-shared-actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Validate shared action metadata
|
||||
uses: mpalmer/action-validator@v0.9.0
|
||||
with:
|
||||
version: 0.9.0
|
||||
patterns: |
|
||||
:(glob)**/action.yml
|
||||
:(glob)**/action.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue