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.
This commit is contained in:
@@ -12,12 +12,13 @@ jobs:
|
|||||||
if: github.repository == 'rust-lang/compiler-builtins'
|
if: github.repository == 'rust-lang/compiler-builtins'
|
||||||
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
|
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
|
||||||
with:
|
with:
|
||||||
|
github-app-id: ${{ vars.APP_CLIENT_ID }}
|
||||||
# https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/compiler-builtins.20subtree.20sync.20automation/with/528482375
|
# https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/compiler-builtins.20subtree.20sync.20automation/with/528482375
|
||||||
zulip-stream-id: 219381
|
zulip-stream-id: 219381
|
||||||
zulip-topic: 'compiler-builtins subtree sync automation'
|
zulip-topic: 'compiler-builtins subtree sync automation'
|
||||||
zulip-bot-email: "compiler-builtins-ci-bot@rust-lang.zulipchat.com"
|
zulip-bot-email: "compiler-builtins-ci-bot@rust-lang.zulipchat.com"
|
||||||
pr-base-branch: master
|
pr-base-branch: master
|
||||||
branch-name: rustc-pull
|
branch-name: rustc-pull
|
||||||
secrets:
|
secrets:
|
||||||
zulip-api-token: ${{ secrets.ZULIP_API_TOKEN }}
|
zulip-api-token: ${{ secrets.ZULIP_API_TOKEN }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
github-app-secret: ${{ secrets.APP_PRIVATE_KEY }}
|
||||||
|
|||||||
@@ -19,6 +19,3 @@ check-commits = false
|
|||||||
# Enable issue transfers within the org
|
# Enable issue transfers within the org
|
||||||
# Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
|
# Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
|
||||||
[transfer]
|
[transfer]
|
||||||
|
|
||||||
# Automatically close and reopen PRs made by bots to run CI on them
|
|
||||||
[bot-pull-requests]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user