You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove label only if the decision tree warrants it:
@@ -131,7 +129,12 @@ Call scripts by name only (e.g., `removeDeployBlockerLabel.sh`), not with full p
131
129
132
130
### Step 8: Assign contributors
133
131
134
-
When a causing PR is identified with medium or high confidence, assign the PR author and all approving reviewers to the deploy blocker issue using `gh issue edit "$ISSUE_URL" --add-assignee`. Extract approving reviewers from `gh pr view <PR_NUMBER> --json reviews`.
132
+
If the primary causing PR has at least medium confidence, assign its author and approving reviewers to the deploy blocker issue. Only assign contributors from this single PR.
description: Drive iOS and Android devices for the Expensify App - testing, debugging, performance profiling, bug reproduction, and feature verification. Use when the developer needs to interact with the mobile app on a device.
> If the version line above shows `NOT_INSTALLED` or a command-not-found error, **STOP** and instruct the developer to install it: `npm install -g agent-device`. All device interaction depends on it.
description: Check whether a GitHub user is a member of the Expensify/contributor-plus team. Sets IS_CPLUS=true when the user is a member, IS_CPLUS=false otherwise.
3
+
4
+
inputs:
5
+
USERNAME:
6
+
description: The GitHub login of the user to check.
7
+
required: true
8
+
OS_BOTIFY_TOKEN:
9
+
description: OSBotify token. Needed to read team memberships (the default GITHUB_TOKEN lacks the read:org scope).
10
+
required: true
11
+
12
+
outputs:
13
+
IS_CPLUS:
14
+
description: "'true' if the user is a member of Expensify/contributor-plus, 'false' otherwise."
15
+
value: ${{ steps.check.outputs.IS_CPLUS }}
16
+
17
+
runs:
18
+
using: composite
19
+
steps:
20
+
- name: Check Contributor+ membership
21
+
id: check
22
+
shell: bash
23
+
env:
24
+
GH_TOKEN: ${{ inputs.OS_BOTIFY_TOKEN }}
25
+
USERNAME: ${{ inputs.USERNAME }}
26
+
run: |
27
+
if gh api "/orgs/Expensify/teams/contributor-plus/memberships/$USERNAME" --silent; then
28
+
echo "::notice::✅ $USERNAME is a Contributor+ member"
29
+
echo "IS_CPLUS=true" >> "$GITHUB_OUTPUT"
30
+
else
31
+
echo "::notice::$USERNAME is not a Contributor+ member"
0 commit comments