Skip to content

Commit 2df4b31

Browse files
authored
Merge pull request #826 from ethersphere/ci/bee-worker-pat
ci: open the OpenAPI auto-PR as the bee-worker bot (GHA_PAT_ADVANCED)
2 parents b35a50e + 2a879eb commit 2df4b31

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/update-openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ name: update openapi
44
# openapi/, bumps the Bee version strings in the install docs, and opens (or updates)
55
# a PR. Prereleases (-rc*, -beta, v2.7.1a, v2.5.0-v8, ...) are ignored.
66
#
7-
# Requires the BOT_PAT secret (a classic PAT with public_repo scope, or a fine-grained PAT
7+
# Requires the GHA_PAT_ADVANCED secret (a classic PAT with public_repo scope, or a fine-grained PAT
88
# with contents + pull-requests write). It is used so the auto-PR triggers build.yaml CI —
99
# PRs opened with the default GITHUB_TOKEN do NOT trigger other workflows. The job fails
10-
# loudly if BOT_PAT is missing/expired rather than silently skipping CI.
10+
# loudly if GHA_PAT_ADVANCED is missing/expired rather than silently skipping CI.
1111

1212
on:
1313
schedule:
@@ -117,7 +117,7 @@ jobs:
117117
if: ${{ steps.changes.outputs.changed == 'true' }}
118118
uses: peter-evans/create-pull-request@v6
119119
with:
120-
token: ${{ secrets.BOT_PAT }}
120+
token: ${{ secrets.GHA_PAT_ADVANCED }}
121121
branch: bot/update-openapi-${{ steps.resolve.outputs.new_tag }}
122122
commit-message: "chore: update OpenAPI specs and version refs to Bee ${{ steps.resolve.outputs.new_tag }}"
123123
title: "Update OpenAPI specs to Bee ${{ steps.resolve.outputs.new_tag }}"

0 commit comments

Comments
 (0)