30 lines
923 B
YAML
30 lines
923 B
YAML
name: Actionlint
|
|
|
|
# This workflow uses actions that are not certified by GitHub.
|
|
# They are provided by a third-party and are governed by
|
|
# separate terms of service, privacy policy, and support
|
|
# documentation.
|
|
|
|
on:
|
|
push:
|
|
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: slim
|
|
permissions:
|
|
contents: read
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
- name: Verify Action
|
|
run: actionlint -ignore 'unexpected key "description" for "workflow" section' -ignore 'nexpected key "inputs" for "workflow" section.' -ignore 'unexpected key "runs" for "workflow" section.' -ignore '"on" section is missing in workflow' -ignore '"jobs" section is missing in workflow' action.yml
|
|
- name: tag latest after success
|
|
if: github.ref == 'refs/heads/main'
|
|
id: tag
|
|
run: |
|
|
git tag -f latest
|
|
git push --tags -f
|
|
|