-
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (25 loc) · 783 Bytes
/
triage.yaml
File metadata and controls
27 lines (25 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Triage
on:
pull_request:
types:
- opened
issues:
types:
- opened
jobs:
add_to_project:
name: Push issue or PR to board
runs-on: ubuntu-latest
steps:
- name: get app token
id: get-app-token
uses: labd/action-gh-app-token@7ff980ba334a28226bad9c85412b4a84c23a3787 # main
with:
app-id: ${{ secrets.RD_APP_ID }}
private-key: ${{ secrets.RD_APP_PRIVATE_KEY }}
installation-id: ${{ secrets.RD_APP_INSTALLATION_ID }}
- name: set to project board
uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
with:
project-url: https://github.com/orgs/labd/projects/3
github-token: ${{ steps.get-app-token.outputs.app-token }}