[FR] Add the title
key automatically (if the file don't have it) for "folder note" file.
#101
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
name: Add labels | |
on: | |
issues: | |
types: [opened, edited, reopened] | |
jobs: | |
add_labels: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.issue.title, '[FR]:') }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
✨ Enhancement | |
- uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.issue.title, '[Bug]:') }} | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
labels: | | |
🐛 Bug |