-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (41 loc) · 1.18 KB
/
harvest.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
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Harvest
on:
workflow_dispatch:
jobs:
harvest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 8.3.0
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: pnpm install
- name: Harvest
run: node ./index.js
env:
AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}
- name: Create Release Note PR
if: always()
id: create_pr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Harvest data"
title: Harvest data
body: Harvest data
reviewers: ci010
assignees: ci010
- name: Retry Create Release Note PR
if: ${{ steps.create_pr.conclusion == 'failure' }}
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Harvest data"
title: Harvest data
body: Harvest data
reviewers: ci010
assignees: ci010