Files
docker-build-action/.github/workflows/lint.yml
T
andreas a05998cbde
Actionlint / build (push) Successful in 22s
Update .github/workflows/lint.yml
2026-05-13 09:56:44 +03:00

30 lines
924 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: write
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.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