From e65988e65ae37994db5bde3021be461bbb437e41 Mon Sep 17 00:00:00 2001 From: Andreas Rocznik Date: Wed, 4 Dec 2024 10:56:38 +0200 Subject: [PATCH] Add .github/workflows/lint.yml --- .github/workflows/lint.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..5f5fb9c --- /dev/null +++ b/.github/workflows/lint.yml @@ -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 +