This commit is contained in:
29
.github/workflows/lint.yml
vendored
Normal file
29
.github/workflows/lint.yml
vendored
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user