diff --git a/.github/workflows/set-version-labels.yml b/.github/workflows/set-version-labels.yml new file mode 100644 index 0000000..07aa7aa --- /dev/null +++ b/.github/workflows/set-version-labels.yml @@ -0,0 +1,17 @@ +name: Label issues +on: + issues: + types: + - closed +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: "Hello World" \ No newline at end of file