Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli committed Jan 4, 2023
1 parent b4b0158 commit fd5ec20
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/multi-labeler.yml
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'
15 changes: 15 additions & 0 deletions .github/workflows/release-drafter-labeler.yml
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 }}

0 comments on commit fd5ec20

Please sign in to comment.