Harvest #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |