Skip to content

Commit

Permalink
Merge pull request autowarefoundation#375 from tier4/sync-main-for-de…
Browse files Browse the repository at this point in the history
…velop

sync main for develop
  • Loading branch information
tier4-autoware-private-bot[bot] authored Aug 27, 2021
2 parents 52c9104 + 1fd32a5 commit 3107306
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/labeler-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
develop:
- "**"
- "**/.*"
- ".*/**"
4 changes: 4 additions & 0 deletions .github/labeler-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
main:
- "**"
- "**/.*"
- ".*/**"
4 changes: 4 additions & 0 deletions .github/labeler-rc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
rc:
- "**"
- "**/.*"
- ".*/**"
6 changes: 2 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
ROS2:
- "**"
develop:
- "**"
CI:
- ".github/**"
23 changes: 20 additions & 3 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
name: Labeler ROS2
name: Labeler
on:
pull_request:
branches:
- main
- develop
- rc/*

jobs:
triage:
labeler:
runs-on: ubuntu-latest

steps:
- uses: actions/labeler@v3
- name: Run labeler
uses: actions/labeler@v3
with:
configuration-path: .github/labeler.yml
repo-token: "${{ secrets.GITHUB_TOKEN }}"

- name: Set LABELER_SUFFIX
run: |
branch_name=${GITHUB_BASE_REF#refs/heads/}
echo "LABELER_SUFFIX=${branch_name%/*}" >> $GITHUB_ENV
- name: Run labeler for branch
uses: actions/labeler@v3
with:
configuration-path: .github/labeler-${{ env.LABELER_SUFFIX }}.yml
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 3107306

Please sign in to comment.