diff --git a/.github/workflows/add-to-project.yaml b/.github/workflows/on-new-issue.yaml similarity index 51% rename from .github/workflows/add-to-project.yaml rename to .github/workflows/on-new-issue.yaml index c54b1b22..f3fc44e5 100644 --- a/.github/workflows/add-to-project.yaml +++ b/.github/workflows/on-new-issue.yaml @@ -10,3 +10,13 @@ jobs: with: project_id: 2 secrets: inherit + + add-jira-label: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - run: | + gh issue --repo ${{github.repository}} edit ${{github.event.issue.number}} --add-label "jira" + env: + GH_TOKEN: ${{ github.token }} \ No newline at end of file