diff --git a/.github/workflows/issues-opened.yml b/.github/workflows/issues-opened.yml index d6831f955..540a8398a 100644 --- a/.github/workflows/issues-opened.yml +++ b/.github/workflows/issues-opened.yml @@ -1,11 +1,10 @@ -name: Issue Opened Triage - on: issues: types: [opened] jobs: issue_triage: + name: Issue Opened Triage runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -14,4 +13,14 @@ jobs: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/labeler-issue-triage.yml enable-versioned-regex: 0 + add-to-project: + name: Add issue to request queue + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@main + with: + project-url: https://github.com/orgs/hashicorp/projects/105 + github-token: ${{ secrets.PACKER_PROJ_BOARD_TOKEN }} + labeled: bug, enhancement + label-operator: OR diff --git a/.github/workflows/pull-requests-opened.yml b/.github/workflows/pull-requests-opened.yml new file mode 100644 index 000000000..b81b12cb1 --- /dev/null +++ b/.github/workflows/pull-requests-opened.yml @@ -0,0 +1,14 @@ +on: + pull_request: + types: + - opened + +jobs: + add-to-project: + name: Add pull-requests to request queue + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@main + with: + project-url: https://github.com/orgs/hashicorp/projects/105 + github-token: ${{ secrets.PACKER_PROJ_BOARD_TOKEN }}