Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/update-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ name: update openapi
# openapi/, bumps the Bee version strings in the install docs, and opens (or updates)
# a PR. Prereleases (-rc*, -beta, v2.7.1a, v2.5.0-v8, ...) are ignored.
#
# Requires the BOT_PAT secret (a classic PAT with public_repo scope, or a fine-grained PAT
# Requires the GHA_PAT_ADVANCED secret (a classic PAT with public_repo scope, or a fine-grained PAT
# with contents + pull-requests write). It is used so the auto-PR triggers build.yaml CI —
# PRs opened with the default GITHUB_TOKEN do NOT trigger other workflows. The job fails
# loudly if BOT_PAT is missing/expired rather than silently skipping CI.
# loudly if GHA_PAT_ADVANCED is missing/expired rather than silently skipping CI.

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