From dbfd494c128156b395aaad0fb8016c32f91549da Mon Sep 17 00:00:00 2001 From: Jean-Paul van Ravensberg <14926452+DevSecNinja@users.noreply.github.com> Date: Wed, 18 Nov 2026 17:01:16 +0100 Subject: [PATCH] ci: pin .github callers to v4.7.0 Part of DevSecNinja/repo-steward#73 (batch 4). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/.config-sync-ignore | 6 ++++++ .github/workflows/config-sync.yml | 4 +++- .github/workflows/reference-data.yml | 10 ++++++++-- .github/workflows/release-please.yml | 6 ++---- 4 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 .github/.config-sync-ignore diff --git a/.github/.config-sync-ignore b/.github/.config-sync-ignore new file mode 100644 index 0000000..8d4c665 --- /dev/null +++ b/.github/.config-sync-ignore @@ -0,0 +1,6 @@ +# Paths config-sync must not overwrite (one per line, relative to the repo root). +# Blank lines and `#` comments are allowed. + +# TypeScript/CSS project formatting differs from the central defaults (#31). +dprint.json +.editorconfig diff --git a/.github/workflows/config-sync.yml b/.github/workflows/config-sync.yml index a972ed5..20073fe 100644 --- a/.github/workflows/config-sync.yml +++ b/.github/workflows/config-sync.yml @@ -12,7 +12,9 @@ permissions: jobs: sync: - uses: DevSecNinja/.github/.github/workflows/config-sync.yml@27fd66740c629ea38380dcd3bf93e7bc74c54247 # v1.9.0 + uses: DevSecNinja/.github/.github/workflows/config-sync.yml@231c380d4f75486e159ed2e3d806bc76ff193a43 # v4.7.0 permissions: contents: write pull-requests: write + secrets: + AUTOMATION_APP_PRIVATE_KEY: ${{ secrets.AUTOMATION_APP_PRIVATE_KEY }} diff --git a/.github/workflows/reference-data.yml b/.github/workflows/reference-data.yml index 6c90cd6..e387cb3 100644 --- a/.github/workflows/reference-data.yml +++ b/.github/workflows/reference-data.yml @@ -17,13 +17,19 @@ jobs: update: name: Update GeoNames snapshot runs-on: ubuntu-24.04 + # The DevSecNinja Automation App credentials live in the `production` + # environment (pinned to main); `deployment: false` reads them without + # creating a deployment record. + environment: + name: production + deployment: false steps: - name: Create GitHub App token id: app-token uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 with: - app-id: ${{ vars.RELEASE_PLEASE_APP_ID }} - private-key: ${{ secrets.RELEASE_PLEASE_APP_PRIVATE_KEY }} + client-id: ${{ vars.AUTOMATION_APP_ID }} + private-key: ${{ secrets.AUTOMATION_APP_PRIVATE_KEY }} permission-contents: write permission-pull-requests: write diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index dbe6db4..a038d72 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -16,11 +16,9 @@ concurrency: jobs: release-please: - uses: DevSecNinja/.github/.github/workflows/release-please.yml@24acc67adf1be33089e73b2fdbdb4be8c12d145b # v3.2.0 + uses: DevSecNinja/.github/.github/workflows/release-please.yml@231c380d4f75486e159ed2e3d806bc76ff193a43 # v4.7.0 permissions: contents: write # Creates release branches, commits, tags, and releases. pull-requests: write # Opens and updates the release pull request. - with: - app-id: ${{ vars.RELEASE_PLEASE_APP_ID }} secrets: - app-private-key: ${{ secrets.RELEASE_PLEASE_APP_PRIVATE_KEY }} + AUTOMATION_APP_PRIVATE_KEY: ${{ secrets.AUTOMATION_APP_PRIVATE_KEY }}