-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4b0158
commit fd5ec20
Showing
2 changed files
with
32 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
name: Multi Labeler | ||
on: | ||
pull_request: | ||
types: [ opened, edited, synchronize, ready_for_review ] | ||
branches: [ dev, main ] | ||
|
||
jobs: | ||
labeler: | ||
name: Labeler | ||
runs-on: ubuntu-latest | ||
steps: | ||
# follows semantic versioning. Lock to different version: v1, v1.5, v1.5.0 or use a commit hash. | ||
- uses: fuxingloh/multi-labeler@v1 | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} # optional, default to '${{ github.token }}' | ||
config-path: .github/multi-labeler.yml # optional, default to '.github/labeler.yml' | ||
## https://github.com/fuxingloh/multi-labeler | ||
#name: Multi Labeler | ||
#on: | ||
# pull_request: | ||
# types: [ opened, edited, synchronize, ready_for_review ] | ||
# branches: [ develop, main ] | ||
# | ||
#jobs: | ||
# labeler: | ||
# name: Labeler | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# # follows semantic versioning. Lock to different version: v1, v1.5, v1.5.0 or use a commit hash. | ||
# - uses: fuxingloh/multi-labeler@v1 | ||
# with: | ||
# github-token: ${{secrets.GITHUB_TOKEN}} # optional, default to '${{ github.token }}' | ||
# config-path: .github/multi-labeler.yml # optional, default to '.github/labeler.yml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Release Drafter Auto Labeler | ||
on: | ||
pull_request: | ||
types: [opened] | ||
|
||
jobs: | ||
auto-labeler: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
with: | ||
config-name: release-drafter.yml | ||
disable-releaser: true # only run auto-labeler for PRs | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |