-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
fix: solution of 412 #4318
Workflow file for this run
This file contains hidden or 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
name: pr-add-label
on:
pull_request_target:
types: [opened, edited, reopened, synchronize]
jobs:
add-label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
if: github.repository == 'doocs/leetcode'
steps:
- name: Check PR number
id: pr_number
run: echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> $GITHUB_ENV
- name: Run add-label Action
uses: actionv/pr-label-action@master
with:
github_token: ${{ secrets.DOOCS_BOT_ACTION_TOKEN }}
pr_number: ${{ env.PR_NUMBER }}
organize_name: "doocs"
team_name: "leetcode-algorithm"