about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@users.noreply.github.com>2025-07-29 08:23:50 +0000
committerGitHub <noreply@github.com>2025-07-29 08:23:50 +0000
commitf7c3a899327bd272572f82ffba64e2ea024f3710 (patch)
tree16a705cbb12592d42b69d90c5f595e4375bef133 /src/tools/rust-analyzer
parente45400afb83a3508707f67219b37457c847e61e2 (diff)
parent1532b37010624c7657d6c9179cd6f01413bf7b56 (diff)
downloadrust-f7c3a899327bd272572f82ffba64e2ea024f3710.tar.gz
rust-f7c3a899327bd272572f82ffba64e2ea024f3710.zip
Merge pull request #20335 from Kobzol/ci-gh-app
Use GH app for authenticating sync PRs
Diffstat (limited to 'src/tools/rust-analyzer')
-rw-r--r--src/tools/rust-analyzer/.github/workflows/rustc-pull.yml3
-rw-r--r--src/tools/rust-analyzer/triagebot.toml3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/tools/rust-analyzer/.github/workflows/rustc-pull.yml b/src/tools/rust-analyzer/.github/workflows/rustc-pull.yml
index 2a842f3b311..37cf5f3726b 100644
--- a/src/tools/rust-analyzer/.github/workflows/rustc-pull.yml
+++ b/src/tools/rust-analyzer/.github/workflows/rustc-pull.yml
@@ -11,10 +11,11 @@ jobs:
     if: github.repository == 'rust-lang/rust-analyzer'
     uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
     with:
+      github-app-id: ${{ vars.APP_CLIENT_ID }}
       zulip-stream-id: 185405
       zulip-bot-email:  "rust-analyzer-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/src/tools/rust-analyzer/triagebot.toml b/src/tools/rust-analyzer/triagebot.toml
index 27fdb672455..c9862495bc0 100644
--- a/src/tools/rust-analyzer/triagebot.toml
+++ b/src/tools/rust-analyzer/triagebot.toml
@@ -28,6 +28,3 @@ labels = ["has-merge-commits", "S-waiting-on-author"]
 
 # Prevents mentions in commits to avoid users being spammed
 [no-mentions]
-
-# Automatically close and reopen PRs made by bots to run CI on them
-[bot-pull-requests]