Skip to content

Commit

Permalink
feat: update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Huweicai committed Jul 31, 2024
1 parent 5de9379 commit 030400b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/approve-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:

- name: Check PR labels
id: check_labels
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
PR_NUMBER=$(echo "${{ github.event.pull_request.number }}")
echo "Checking labels for PR #$PR_NUMBER"
# Get the labels on the PR
Expand All @@ -41,4 +43,4 @@ jobs:
- name: Set output if labels are present
if: success()
run: echo "All required labels are present."
run: echo "All required labels are present."

0 comments on commit 030400b

Please sign in to comment.