Files
docker-build-action/.github/workflows/lint.yml
Andreas Rocznik bb790bcf5e
All checks were successful
Actionlint / build (push) Successful in 20s
Update .github/workflows/lint.yml
2024-12-04 11:12:00 +02:00

30 lines
931 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Verify Compose File
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/master'
id: tag
run: |
git tag -f latest
git push --tags -f