mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-09 00:32:09 -04:00
Update project GitHub actions (#11805)
To assist in tracking newly created issues and pull-requests a new set of actions is being added to assign inbound request to a new project board. Where the team can view, filter, and organize in bound requests across all Packer repos.
This commit is contained in:
parent
23b492bf7d
commit
adc130a73e
2 changed files with 25 additions and 2 deletions
13
.github/workflows/issues-opened.yml
vendored
13
.github/workflows/issues-opened.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
14
.github/workflows/pull-requests-opened.yml
vendored
Normal file
14
.github/workflows/pull-requests-opened.yml
vendored
Normal file
|
|
@ -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 }}
|
||||
Loading…
Reference in a new issue