From 8271b0339d5c2584e1f8bf77c6bfb91124bca307 Mon Sep 17 00:00:00 2001 From: Mike H Date: Mon, 9 Nov 2026 21:20:28 -0800 Subject: [PATCH 1/2] chore: pin GitHub Actions and scope workflow permissions (PE-9598) Co-Authored-By: Codex --- .github/dependabot.yml | 6 ++++++ .github/workflows/check-action-pins.yml | 14 ++++++++++++++ .github/workflows/rerun-agent-pr-rules.yml | 6 ++++-- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/check-action-pins.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ca79ca5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/check-action-pins.yml b/.github/workflows/check-action-pins.yml new file mode 100644 index 0000000..64aef89 --- /dev/null +++ b/.github/workflows/check-action-pins.yml @@ -0,0 +1,14 @@ +name: Check action pins + +on: + pull_request: + merge_group: + push: + branches: [main] + +permissions: + contents: read + +jobs: + check: + uses: 0xSplits/github-workflows/.github/workflows/check-action-pins.yml@081ba870e1a8daacb69972f401aa9015052a7a02 # main diff --git a/.github/workflows/rerun-agent-pr-rules.yml b/.github/workflows/rerun-agent-pr-rules.yml index 99c5f79..6056de7 100644 --- a/.github/workflows/rerun-agent-pr-rules.yml +++ b/.github/workflows/rerun-agent-pr-rules.yml @@ -5,8 +5,10 @@ on: types: [submitted, dismissed] permissions: - actions: write + contents: read jobs: rerun: - uses: 0xSplits/github-workflows/.github/workflows/rerun-agent-pr-rules.yml@main + permissions: + actions: write + uses: 0xSplits/github-workflows/.github/workflows/rerun-agent-pr-rules.yml@387e3c9e8536384a97af8090d25e4ca1f19f8dcf # main From d286990a0f8f5d960fea4136ce1d238aa9a0efc9 Mon Sep 17 00:00:00 2001 From: Mike H Date: Wed, 11 Nov 2026 14:41:50 -0800 Subject: [PATCH 2/2] chore: limit PE-9598 to action SHA pins Drop the Dependabot config, the shared pin-check workflow, the token permission changes, and the secret scoping. Only the uses: SHA pins remain; each keeps its original ref in a comment. Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 6 ------ .github/workflows/check-action-pins.yml | 14 -------------- .github/workflows/rerun-agent-pr-rules.yml | 4 +--- 3 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/check-action-pins.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index ca79ca5..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: weekly diff --git a/.github/workflows/check-action-pins.yml b/.github/workflows/check-action-pins.yml deleted file mode 100644 index 64aef89..0000000 --- a/.github/workflows/check-action-pins.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Check action pins - -on: - pull_request: - merge_group: - push: - branches: [main] - -permissions: - contents: read - -jobs: - check: - uses: 0xSplits/github-workflows/.github/workflows/check-action-pins.yml@081ba870e1a8daacb69972f401aa9015052a7a02 # main diff --git a/.github/workflows/rerun-agent-pr-rules.yml b/.github/workflows/rerun-agent-pr-rules.yml index 6056de7..edd2a0e 100644 --- a/.github/workflows/rerun-agent-pr-rules.yml +++ b/.github/workflows/rerun-agent-pr-rules.yml @@ -5,10 +5,8 @@ on: types: [submitted, dismissed] permissions: - contents: read + actions: write jobs: rerun: - permissions: - actions: write uses: 0xSplits/github-workflows/.github/workflows/rerun-agent-pr-rules.yml@387e3c9e8536384a97af8090d25e4ca1f19f8dcf # main