@@ -141,8 +141,7 @@ permissions:
141141
142142jobs:
143143 label:
144- runs-on: ubuntu-latest
145- uses: workflow-kit/pr-auto-labeler@v0.0.1
144+ uses: workflow-kit/pr-auto-labeler/.github/workflows/pr-auto-labeler.yml@latest
146145 with:
147146 # Enable specific rules
148147 enabled_rules: '[
@@ -184,7 +183,7 @@ Run the labeler only on specific conditions:
184183 jobs:
185184 label:
186185 if: github.event.pull_request.draft == false
187- uses: workflow-kit/pr-auto-labeler@v0.0.1
186+ uses: workflow-kit/pr-auto-labeler/.github/workflows/pr-auto-labeler.yml@latest
188187 with:
189188 enabled_rules: '["ui-change", "test-missing"]'
190189 ` ` `
@@ -206,7 +205,7 @@ Run the labeler only on specific conditions:
206205 jobs:
207206 label:
208207 if: github.actor != 'dependabot[bot]'
209- uses: workflow-kit/pr-auto-labeler@v0.0.1
208+ uses: workflow-kit/pr-auto-labeler/.github/workflows/pr-auto-labeler.yml@latest
210209 with:
211210 enabled_rules: '["ui-change"]'
212211 ` ` `
@@ -219,13 +218,13 @@ Run different rule sets based on file paths:
219218jobs:
220219 label-frontend:
221220 if: contains(github.event.pull_request.changed_files, 'frontend/')
222- uses: workflow-kit/pr-auto-labeler@v0.0.1
221+ uses: workflow-kit/pr-auto-labeler/.github/workflows/pr-auto-labeler.yml@latest
223222 with:
224223 enabled_rules: '["ui-change", "style-change", "test-missing"]'
225224
226225 label-backend:
227226 if: contains(github.event.pull_request.changed_files, 'backend/')
228- uses: workflow-kit/pr-auto-labeler@v0.0.1
227+ uses: workflow-kit/pr-auto-labeler/.github/workflows/pr-auto-labeler.yml@latest
229228 with:
230229 enabled_rules: '["migration", "security-change", "test-missing"]'
231230` ` `
@@ -289,14 +288,14 @@ Rules are organized into categories. Here's a quick reference:
289288
290289# # Migration Guide
291290
292- # ## From v0.0.1 to v1.0.0 (Future)
291+ # ## From v0.0.1 to Latest
293292
294- When v1.0.0 is released, update the version reference :
293+ Update to use the workflow file path format :
295294
296295` ` ` yaml hl_lines="2"
297296uses: workflow-kit/pr-auto-labeler@v0.0.1
298297# Change to:
299- uses: workflow-kit/pr-auto-labeler/.github/workflows/pr-auto-labeler.yml@v1.0.0
298+ uses: workflow-kit/pr-auto-labeler/.github/workflows/pr-auto-labeler.yml@latest
300299` ` `
301300
302301Check the [Changelog](https://github.com/workflow-kit/pr-auto-labeler/releases) for breaking changes.
0 commit comments