Skip to content

Commit 825d1d4

Browse files
meltsufincatchyzheng
authored andcommitted
chore: migrate multi-approvers workflow to Librarian repo (#922)
Migrating from https://github.com/googleapis/infra-github/blob/main/.github/workflows/multi_approvers.yaml so that we can get rid of that repo entirely. --------- Signed-off-by: Mike Eltsufin <[email protected]>
1 parent 6017f2b commit 825d1d4

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: 'multi-approvers'
16+
17+
on:
18+
pull_request_target:
19+
types:
20+
- 'opened'
21+
- 'edited'
22+
- 'reopened'
23+
- 'synchronize'
24+
- 'ready_for_review'
25+
- 'review_requested'
26+
- 'review_request_removed'
27+
pull_request_review:
28+
types:
29+
- 'submitted'
30+
- 'dismissed'
31+
32+
permissions:
33+
actions: 'write'
34+
contents: 'read'
35+
id-token: 'write'
36+
pull-requests: 'read'
37+
38+
concurrency:
39+
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
40+
cancel-in-progress: true
41+
42+
jobs:
43+
multi-approvers:
44+
runs-on: 'ubuntu-latest'
45+
steps:
46+
- name: 'Multi-approvers'
47+
uses: 'abcxyz/actions/.github/actions/multi-approvers@893209ed79a3d2508eeec375ffaf3d21012f5cd0'
48+
with:
49+
team: 'googlers'
50+
token: '${{ secrets.MULTI_APPROVERS_TOKEN }}'
51+
user-id-allowlist: '25180681,55107282,122572305,78513119,49699333,70984784,44816363,205009765,56741989'
52+
# username to ID mapping (https://api.github.com/users/{username}):
53+
# renovate-bot: 25180681
54+
# release-please[bot]: 55107282
55+
# cloud-java-bot: 122572305
56+
# gcf-owl-bot[bot]: 78513119
57+
# dependabot[bot]: 49699333
58+
# yoshi-code-bot: 70984784
59+
# yoshi-automation: 44816363
60+
# google-cloud-sdk-librarian-dotnet-robot: 205009765
61+
# copybara-service[bot]: 56741989

0 commit comments

Comments
 (0)