about summary refs log tree commit diff
path: root/library/compiler-builtins
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-07-29 10:20:22 +0200
committerGitHub <noreply@github.com>2025-07-29 08:20:22 +0000
commit54f6ab73b1befefe2bc3af2b46e9cba8e06086c4 (patch)
treee7c6dda618e840c1552d67484621c3ed3756e103 /library/compiler-builtins
parent16cb37c9574b35a3b54c7aa3604f328347f304ab (diff)
downloadrust-54f6ab73b1befefe2bc3af2b46e9cba8e06086c4.tar.gz
rust-54f6ab73b1befefe2bc3af2b46e9cba8e06086c4.zip
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.
Diffstat (limited to 'library/compiler-builtins')
-rw-r--r--library/compiler-builtins/.github/workflows/rustc-pull.yml5
-rw-r--r--library/compiler-builtins/triagebot.toml3
2 files changed, 3 insertions, 5 deletions
diff --git a/library/compiler-builtins/.github/workflows/rustc-pull.yml b/library/compiler-builtins/.github/workflows/rustc-pull.yml
index ba698492e42..ad7693e17b0 100644
--- a/library/compiler-builtins/.github/workflows/rustc-pull.yml
+++ b/library/compiler-builtins/.github/workflows/rustc-pull.yml
@@ -12,12 +12,13 @@ jobs:
     if: github.repository == 'rust-lang/compiler-builtins'
     uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
     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
       zulip-stream-id: 219381
       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
       branch-name: rustc-pull
     secrets:
       zulip-api-token: ${{ secrets.ZULIP_API_TOKEN }}
-      token: ${{ secrets.GITHUB_TOKEN }}
+      github-app-secret: ${{ secrets.APP_PRIVATE_KEY }}
diff --git a/library/compiler-builtins/triagebot.toml b/library/compiler-builtins/triagebot.toml
index 8a2356c2b1c..eba5cdd88b9 100644
--- a/library/compiler-builtins/triagebot.toml
+++ b/library/compiler-builtins/triagebot.toml
@@ -19,6 +19,3 @@ check-commits = false
 # Enable issue transfers within the org
 # Documentation at: https://forge.rust-lang.org/triagebot/transfer.html
 [transfer]
-
-# Automatically close and reopen PRs made by bots to run CI on them
-[bot-pull-requests]