Skip to content

Commit

Permalink
Update pr-issue_management.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
normal-wls authored Sep 9, 2024
1 parent 4f99a29 commit f40bbf0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/pr-issue_management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,3 @@ jobs:
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set 'done' label when PR is merged
if: github.event.pull_request.merged == true
run: |
ISSUE_ID=$(echo "${{ github.event.pull_request.title }}" | grep -oE '#[0-9]+$' | sed 's/#//')
if [ ! -z "$ISSUE_ID" ]; then
echo "Issue ID: $ISSUE_ID"
gh issue edit $ISSUE_ID --add-label "stage/done"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f40bbf0

Please sign in to comment.