diff --git a/.github/workflows/opened-issues-to-the-board.yml b/.github/workflows/opened-issues-to-the-board.yml deleted file mode 100644 index dfb8b259e4..0000000000 --- a/.github/workflows/opened-issues-to-the-board.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Move new issues into the Kanban board - -on: - issues: - types: [opened] - -jobs: - add-new-issue-to-the-kanban-board: - runs-on: ubuntu-latest - steps: - - uses: actions/add-to-project@v0.3.0 - with: - project-url: https://github.com/orgs/packit/projects/7 - github-token: ${{ secrets.RELEASEBOT_GITHUB_TOKEN }} diff --git a/.github/workflows/opened-prs-to-the-board.yml b/.github/workflows/opened-prs-to-the-board.yml new file mode 100644 index 0000000000..5301d63e6a --- /dev/null +++ b/.github/workflows/opened-prs-to-the-board.yml @@ -0,0 +1,14 @@ +name: Move PRs into the PRs board + +on: + pull_request_target: + +jobs: + add-pr-to-the-prs-board: + if: github.event.pull_request.draft == false + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.3.0 + with: + project-url: https://github.com/orgs/packit/projects/14 + github-token: ${{ secrets.RELEASEBOT_GITHUB_TOKEN }}