Repository navigation
Releases
v1.3.1
Retry the gh-actions-lock, pinact, and ghalint downloads. GitHub can hand out a release redirect whose signed token has already expired, and the asset host then answers with the nonstandard HTTP 618. curl now retries every error and restarts from the github.com URL, which returns a new redirect. The SHA-256 checks are unchanged.
jobs:
gha-lint:
permissions:
contents: read
uses: zunoser/reusable-workflows/.github/workflows/gha-lint.yml@e49f925999603cbfad56971e70f7e08d3e895541 # v1.3.1v1.3.0
With verify-actions-lock: true, pinact no longer checks action definitions under .github/actions/. Those run as $/ and the caller's actions.lock pins their refs as tags; a SHA there makes the runner reject the workflow. Action definitions elsewhere, such as a root action.yml, still need SHA pins.
jobs:
gha-lint:
permissions:
contents: read
uses: zunoser/reusable-workflows/.github/workflows/gha-lint.yml@9fca6ff223f82d81b1d003fa5cfac0794fad78a7 # v1.3.0v1.2.0
Check SHA pins that actions.lock does not cover with pinact v5.0.2: reusable workflow calls and action definitions (action.yml). With verify-actions-lock: false, pinact requires a SHA pin on every ref.
jobs:
gha-lint:
permissions:
contents: read
uses: zunoser/reusable-workflows/.github/workflows/gha-lint.yml@8b4dca5028d0ed6a90006e1222cfea4223765254 # v1.2.0v1.1.0
Run gh actions-lock --verify in the shared lint workflow. It fails when .github/workflows/actions.lock is missing or does not cover every workflow. Callers without a lockfile can pass verify-actions-lock: false.
jobs:
gha-lint:
permissions:
contents: read
uses: zunoser/reusable-workflows/.github/workflows/gha-lint.yml@cd4727a1d6777fb660aafe64570f18e760d4a966 # v1.1.0v1.0.0
Run jactionlint, ghalint, and zizmor on workflow files in the calling repository.
name: GitHub Actions lint
on: pull_request
permissions: {}
jobs:
gha-lint:
permissions:
contents: read
uses: zunoser/reusable-workflows/.github/workflows/gha-lint.yml@c228e2cb32200679d6657b0fa47a63ada091a44f # v1.0.0Enable Dependabot for the github-actions ecosystem in each caller to receive PRs for future versions.