diff --git a/.github/workflows/auto-label.yaml b/.github/workflows/auto-label.yaml new file mode 100644 index 0000000..a256d41 --- /dev/null +++ b/.github/workflows/auto-label.yaml @@ -0,0 +1,17 @@ +name: Label issues +on: + issues: + types: + - opened +jobs: + label_issues: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - run: gh issue edit "$NUMBER" --add-label "$LABELS" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + NUMBER: ${{ github.event.issue.number }} + LABELS: area/ipcei