Skip to content

Commit

Permalink
Update push_event.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Omkar Khatavkar authored Feb 13, 2024
1 parent 6aed272 commit f61e31d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/push_event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ jobs:
name: Remove PRT labels for new commit
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Get Pull Request Number
id: pr
run: echo "::set-output name=pull_request_number::$(gh pr view --json number -q .number || echo "")"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: echo ${{ steps.pr.outputs.pull_request_number }}

- name: Remove the previous PRT Result labels
uses: actions/github-script@v7
with:
Expand Down

0 comments on commit f61e31d

Please sign in to comment.