mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 02:54:26 +00:00
GitHub shipped the concurrency queue property on 2026-05-07. actionlint 1.7.12 and act v0.2.89 both predate it: actionlint reports an unexpected key, act refuses to parse the whole workflow. Ignore the finding in the lint call, and hand act a copy with those lines stripped so local iteration survives once the workflows use the key. Refs: rhysd/actionlint#654, nektos/act#6095, nektos/act#6152 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
19 lines
704 B
Bash
Executable File
19 lines
704 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# shellcheck shell=bash
|
|
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
|
REPO_ROOT="$(cd -- "${SCRIPT_DIR}/../.." && pwd)"
|
|
|
|
cd "${REPO_ROOT}"
|
|
|
|
# Exception: actionlint 1.7.12 rejects the `queue` concurrency property that
|
|
# GitHub shipped on 2026-05-07; its schema predates the key.
|
|
# TODO: drop the queue ignore once actionlint knows it --
|
|
# https://github.com/rhysd/actionlint/issues/654.
|
|
actionlint \
|
|
-ignore 'input "client-id" is not defined in action "actions/create-github-app-token' \
|
|
-ignore 'missing input "app-id" which is required by action "actions/create-github-app-token' \
|
|
-ignore 'unexpected key "queue" for "concurrency" section'
|