Skip to content

Commit ae25e53

Browse files
use admin pat to bypass branch protection ruleset
1 parent 602f071 commit ae25e53

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/update-libs.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ jobs:
1616
steps:
1717
- name: Checkout plugin-examples
1818
uses: actions/checkout@v4
19+
with:
20+
# PAT from a repo admin so the libs/ push bypasses the main ruleset.
21+
# Falls back to GITHUB_TOKEN if the secret is unset (push will then
22+
# be blocked by the ruleset, which is the safe default).
23+
token: ${{ secrets.ADMIN_PERSONAL_ACCESS_TOKEN || github.token }}
1924

2025
- name: Set up JDK 17
2126
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)