Skip to content

Commit

Permalink
(ci): updated to use the branch labeling feature from the new Labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
orpiske committed Jan 4, 2024
1 parent a445877 commit 20a2f6f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 57 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/generic-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,4 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/workflows/generic-pr/label-config.yml
sync-labels: true
- name: Label changes scope (Camel 4)
if: github.ref == 'refs/heads/main'
uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/workflows/generic-pr/label-config-main.yml
sync-labels: true
- name: Label changes scope (Camel 3)
if: github.ref == 'refs/heads/camel-3.x'
uses: actions/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/workflows/generic-pr/label-config-camel-3.yml
sync-labels: true
sync-labels: true
21 changes: 0 additions & 21 deletions .github/workflows/generic-pr/label-config-camel-3.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/generic-pr/label-config-main.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/generic-pr/label-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
# limitations under the License.
#

camel-3:
- base-branch:
- '^camel-3.x'

camel-4:
- base-branch:
- 'main'
- '^camel-4.x'

ci:
- changed-files:
- any-glob-to-any-file:
Expand Down

0 comments on commit 20a2f6f

Please sign in to comment.