Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
chore: add labels action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Oct 30, 2023
1 parent 881c3fe commit 5ad0be4
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/add_labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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

0 comments on commit 5ad0be4

Please sign in to comment.