Skip to content

Commit b56560b

Browse files
authored
Switch to using a GH app for authenticating sync PRs
So there will no longer be the need to close and reopen sync PRs in order for CI to run.
1 parent b7cdb73 commit b56560b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/rustc-pull.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ jobs:
1212
if: github.repository == 'rust-lang/compiler-builtins'
1313
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
1414
with:
15+
github-app-id: ${{ vars.APP_CLIENT_ID }}
1516
# https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/compiler-builtins.20subtree.20sync.20automation/with/528482375
1617
zulip-stream-id: 219381
1718
zulip-topic: 'compiler-builtins subtree sync automation'
18-
zulip-bot-email: "[email protected]"
19+
zulip-bot-email: "[email protected]"
1920
pr-base-branch: master
2021
branch-name: rustc-pull
2122
secrets:
2223
zulip-api-token: ${{ secrets.ZULIP_API_TOKEN }}
23-
token: ${{ secrets.GITHUB_TOKEN }}
24+
github-app-secret: ${{ secrets.APP_PRIVATE_KEY }}

triagebot.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,3 @@ check-commits = false
1919
# Enable issue transfers within the org
2020
# Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
2121
[transfer]
22-
23-
# Automatically close and reopen PRs made by bots to run CI on them
24-
[bot-pull-requests]

0 commit comments

Comments
 (0)