Skip to content

Commit b067bb4

Browse files
authored
Merge pull request #2521 from rust-lang/ci-gh-app
Authenticate using GitHub app for the sync workflow
2 parents e19866a + cdcad1f commit b067bb4

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
@@ -9,12 +9,13 @@ on:
99
jobs:
1010
pull:
1111
if: github.repository == 'rust-lang/rustc-dev-guide'
12-
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
12+
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@ci-gh-app
1313
with:
14+
github-app-id: ${{ vars.APP_CLIENT_ID }}
1415
zulip-stream-id: 196385
1516
zulip-bot-email: "[email protected]"
1617
pr-base-branch: master
1718
branch-name: rustc-pull
1819
secrets:
1920
zulip-api-token: ${{ secrets.ZULIP_API_TOKEN }}
20-
token: ${{ secrets.GITHUB_TOKEN }}
21+
github-app-secret: ${{ secrets.APP_PRIVATE_KEY }}

triagebot.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ allow-unauthenticated = [
6262
# Documentation at: https://forge.rust-lang.org/triagebot/issue-links.html
6363
[issue-links]
6464

65-
# Automatically close and reopen PRs made by bots to run CI on them
66-
[bot-pull-requests]
67-
6865
[behind-upstream]
6966
days-threshold = 7
7067

0 commit comments

Comments
 (0)