Skip to content

Commit

Permalink
Fix windows labeler
Browse files Browse the repository at this point in the history
Signed-off-by: Maksym Pavlenko <[email protected]>
  • Loading branch information
mxpv committed Aug 21, 2023
1 parent 0adc36d commit a80d2df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Required by gh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.number }}
PR_URL: ${{ github.event.pull_request.html_url }}

steps:
- uses: actions/labeler@v4
Expand All @@ -27,5 +27,5 @@ jobs:
sync-labels: true

# Apply OS-windows label if PR title contains 'Windows'
- run: gh pr edit $PR_NUMBER --add-label OS-windows
- run: gh pr edit $PR_URL --add-label OS-windows
if: contains(github.event.pull_request.title, 'Windows')

0 comments on commit a80d2df

Please sign in to comment.