Skip to content

Commit 4847488

Browse files
authored
chore(ci): update labeler workflow for labeler@v5 (#28627)
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> The labeler action is currently failing: https://github.com/ionic-team/ionic-framework/actions/runs/7090913880/job/19298918578?pr=28622. This is happening due to a breaking change in v5 of the action. We currently pull from `main` for this action so we are now receiving v5 of the action: https://github.com/ionic-team/ionic-framework/blob/fe3c3d500a2afd716ebde81a75b357b7c79d4920/.github/workflows/label.yml#L16 ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - This PR updates the action explicitly to v5 so we don't unexpectedly take on breaking changes - This PR also updates the labeler yaml file to account for the v5 breaking changes ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
1 parent fe3c3d5 commit 4847488

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/labeler.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@
66
# https://github.com/actions/labeler
77

88
'package: core':
9-
- core/**/*
9+
- changed-files:
10+
- any-glob-to-any-file: ['core/**/*']
1011

1112
'package: angular':
12-
- packages/angular/**/*
13-
- packages/angular-*/**/*
13+
- changed-files:
14+
- any-glob-to-any-file: ['packages/angular/**/*', 'packages/angular-*/**/*']
1415

1516
'package: react':
16-
- packages/react/**/*
17-
- packages/react-*/**/*
17+
- changed-files:
18+
- any-glob-to-any-file: ['packages/react/**/*', 'packages/react-*/**/*']
1819

1920
'package: vue':
20-
- packages/vue/**/*
21-
- packages/vue-*/**/*
21+
- changed-files:
22+
- any-glob-to-any-file: ['packages/vue/**/*', 'packages/vue-*/**/*']

.github/workflows/label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
triage:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/labeler@main
16+
- uses: actions/labeler@v5
1717
with:
1818
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1919
sync-labels: true

0 commit comments

Comments
 (0)