mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-23 17:03:59 +03:00
12 lines
357 B
YAML
12 lines
357 B
YAML
# Labels pull requests based on their branch name
|
|
name: 💡 PR Branch Labeler
|
|
on: pull_request
|
|
jobs:
|
|
label-pr:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Label PR
|
|
if: github.event.action == 'opened'
|
|
uses: ffittschen/pr-branch-labeler@v1
|
|
with:
|
|
repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} |