Add .github/workflows/lint.yml
Some checks failed
Actionlint / build (push) Failing after 30s

This commit is contained in:
2024-12-04 10:56:38 +02:00
parent 3638a0a6a7
commit e65988e65a

29
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
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 action.yml
- name: tag latest after success
if: github.ref == 'refs/heads/master'
id: tag
run: |
git tag -f latest
git push --tags -f