From 7b4b0e29b6a27a8ad16f94c8463417395dfeabdd Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 13 Oct 2026 22:37:16 +0000 Subject: [PATCH] ci: pin actions to commit SHAs; Dependabot keeps them current (ACTIONS-PIN-1) Each uses: is pinned to a 40-hex commit SHA with a '# vN' comment (a tag can be moved to new code; a SHA cannot), and .github/dependabot.yml moves SHA and comment together in one monthly grouped pull request. Mirrors QNFO/qnfo-workers PR 1220 (GHA-AUDIT-1). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_018gmMjMgWAuzVh7gHPBcosA --- .github/dependabot.yml | 14 ++++++++++++++ .github/workflows/ci.yml | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..85cd0ee --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +# ACTIONS-PIN-1 (QNFO/qnfo-workers GHA-AUDIT-1, 2026-10-13): actions are pinned to commit SHAs with a "# vN" comment; +# Dependabot moves the SHA and the comment together, once a month, in one grouped pull request. +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: monthly + groups: + actions: + patterns: ["*"] + commit-message: + prefix: "ci(actions)" + open-pull-requests-limit: 2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7995fbc..4bc7337 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,8 @@ jobs: matrix: python: ["3.9", "3.12"] steps: - - uses: actions/checkout@v6 - - uses: actions/setup-python@v6 + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 with: python-version: ${{ matrix.python }} - run: pip install .