Skip to content

Merge pull request #125 from ls1intum/renovate/major-github-artifact-… #28

Merge pull request #125 from ls1intum/renovate/major-github-artifact-…

Merge pull request #125 from ls1intum/renovate/major-github-artifact-… #28

Workflow file for this run

name: Lint GitHub Workflows
on:
pull_request:
branches: [ "main" ]
paths:
- ".github/**"
push:
branches: [ "main" ]
paths:
- ".github/**"
schedule:
- cron: "0 15 * * 0"
workflow_dispatch:
permissions: {}
concurrency:
group: actionlint-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
actionlint:
name: actionlint
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Run actionlint
env:
# Update the checksum together with the version; it pins the exact release asset.
ACTIONLINT_VERSION: "1.7.12"
ACTIONLINT_SHA256: "8aca8db96f1b94770f1b0d72b6dddcb1ebb8123cb3712530b08cc387b349a3d8"
run: |
curl --fail --silent --show-error --location \
--output actionlint.tar.gz \
"https://github.com/rhysd/actionlint/releases/download/v${ACTIONLINT_VERSION}/actionlint_${ACTIONLINT_VERSION}_linux_amd64.tar.gz"
echo "${ACTIONLINT_SHA256} actionlint.tar.gz" | sha256sum --check --strict
tar --extract --gzip --file actionlint.tar.gz actionlint
./actionlint -color