We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c9e4729 + d3dac29 commit 4a604ebCopy full SHA for 4a604eb
.github/workflows/labeler.yml
@@ -13,10 +13,19 @@ jobs:
13
runs-on: ubuntu-latest
14
timeout-minutes: 5
15
16
+ # Required by gh
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ PR_NUMBER: ${{ github.event.number }}
20
+
21
steps:
22
- uses: actions/labeler@v4
23
with:
24
# Auto-include paths starting with dot (e.g. .github)
25
dot: true
26
# Remove labels when matching files are reverted or no longer changed by the PR
27
sync-labels: true
28
29
+ # Apply OS-windows label if PR title contains 'Windows'
30
+ - run: gh pr edit $PR_NUMBER --add-label OS-windows
31
+ if: contains(github.event.pull_request.title, 'Windows')
0 commit comments