Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7601322

Browse files
ci: add pr-add-label workflow (#1605)
* ci: add pr-add-label workflow * fix: use master * chore: change job name
1 parent eb34de1 commit 7601322

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

‎.github/workflows/pr-add-label.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: pr-add-label
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
jobs:
9+
add-label:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check PR number
13+
id: pr_number
14+
run: echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_ENV
15+
16+
- name: Run add-label Action
17+
uses: thinkasany/pr-label-action@master
18+
with:
19+
github_token: ${{ secrets.DOOCS_BOT_ACTION_TOKEN }}
20+
pr_number: ${{ env.PR_NUMBER }}
21+
organize_name: "doocs"
22+
team_name: "leetcode-algorithm"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /