Skip to content

Commit 4ba3724

Browse files
committed
Add server and triage workflows
1 parent bb5eab4 commit 4ba3724

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Server development project automations for issues
2+
3+
on:
4+
issues:
5+
types:
6+
- milestoned
7+
jobs:
8+
call-workflow:
9+
uses: EventStore/Automations/.github/workflows/development-project-automation.yml@master
10+
with:
11+
resource-node-id: ${{ github.event.issue.node_id }}
12+
event-action: ${{ github.event.action }}
13+
event-name: ${{ github.event_name }}
14+
secrets:
15+
project-number: ${{ secrets.SERVER_DEV_PROJECT_NUMBER }}
16+
token: ${{ secrets.ORG_ACCESS_TOKEN }}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Development project automations for pull requests
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- converted_to_draft
9+
- ready_for_review
10+
11+
jobs:
12+
call-workflow:
13+
uses: EventStore/Automations/.github/workflows/development-project-automation.yml@master
14+
with:
15+
resource-node-id: ${{ github.event.pull_request.node_id }}
16+
event-action: ${{ github.event.action }}
17+
event-name: ${{ github.event_name }}
18+
secrets:
19+
project-number: ${{ secrets.SERVER_DEV_PROJECT_NUMBER }}
20+
token: ${{ secrets.ORG_ACCESS_TOKEN }}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Triage project automations
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
- reopened
8+
- milestoned
9+
- labeled
10+
jobs:
11+
call-workflow:
12+
uses: EventStore/Automations/.github/workflows/triage-project-automation.yml@master
13+
with:
14+
resource-node-id: ${{ github.event.issue.node_id }}
15+
event-action: ${{ github.event.action }}
16+
labels: ${{ join(github.event.issue.labels.*.name, ', ') }}
17+
secrets:
18+
project-number: ${{ secrets.TRIAGE_PROJECT_NUMBER }}
19+
token: ${{ secrets.ORG_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)