Solution of 0003 and 0004 in c language and readme done #3934
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" |