Skip to content

Commit 21faced

Browse files
committed
GH Actions/label new PRs: use v1 floating tag
Using `master` for action runners is bad practice (as it opens you up to unexpectedly moving to a new major containing breaking changes), but so far, the `srvaroa/labeler` action did not have a floating/moving `v1` tag. This tag has now been added, so updating the workflow to use it. The action has also tagged version `v1.7.2`, which should fix an issue I previously reported where tags were being removed, even though the config forbids this. Refs: * srvaroa/labeler 104 * srvaroa/labeler 110 * https://github.com/srvaroa/labeler/releases/tag/v1.7.2
1 parent 438357a commit 21faced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/label-new-prs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Label new PRs
28-
uses: srvaroa/labeler@master
28+
uses: srvaroa/labeler@v1
2929
env:
3030
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
3131

@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/checkout@v3
4242

4343
- name: Verify changes to the labeling logic
44-
uses: srvaroa/labeler@master
44+
uses: srvaroa/labeler@v1
4545
with:
4646
use_local_config: true
4747
fail_on_error: true

0 commit comments

Comments
 (0)