-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/npm_and_yarn/functions/grpc/grpc-…
…js-1.8.22
- Loading branch information
Showing
56 changed files
with
917 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Update labels on issues with OP response | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
label-op-response: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if the comment is from the OP | ||
id: check-op | ||
run: | | ||
OP=${{ github.event.issue.user.login }} | ||
COMMENTER=${{ github.event.comment.user.login }} | ||
if [ "$OP" = "$COMMENTER" ]; then | ||
echo "op_comment=true" >> $GITHUB_ENV | ||
else | ||
echo "op_comment=false" >> $GITHUB_ENV | ||
fi | ||
- name: Add 'Needs Attention' label if OP responded | ||
if: env.op_comment == 'true' | ||
uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
labels: 'Needs Attention' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
- name: Remove 'blocked customer-response' label if OP responded | ||
if: env.op_comment == 'true' | ||
uses: actions-ecosystem/action-remove-labels@v1 | ||
with: | ||
labels: 'blocked: customer-response' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
label-new-issue: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Add 'Needs Attention' label to new issue | ||
uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
labels: 'Needs Attention' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.