-
Notifications
You must be signed in to change notification settings - Fork 34
30 lines (28 loc) · 978 Bytes
/
pr-state.yml
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
28
29
30
name: PR state update
on:
pull_request:
types:
- opened
- reopened
- closed
- ready_for_review
- converted_to_draft
pull_request_review:
types:
- submitted
jobs:
export:
name: Export
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/export
with:
prTitle: ${{ github.event.pull_request.title }}
url: ${{ github.event.pull_request.html_url }}
state: ${{ github.event.pull_request.state }}
isMerged: ${{ github.event.pull_request.merged }}
isDraft: ${{ github.event.pull_request.draft }}
review: ${{ github.event.pull_request_review.state }}
assigned: ${{ join(github.event.pull_request.assignees.*.login, ', ') }}
googleSheetsKey: ${{ secrets.GOOGLE_SHEETS_KEY }}