2023-02-24 15:20:30 +00:00
|
|
|
name: Generate tranches
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 */6 * * *'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
master:
|
|
|
|
name: Generate Queries
|
2023-04-03 13:53:50 +00:00
|
|
|
runs-on: ubuntu-22.04
|
2023-02-24 15:20:30 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.VEGA_CI_BOT_GITHUB_TOKEN }}
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Use Node.js 16
|
|
|
|
id: Node
|
|
|
|
uses: actions/setup-node@v2
|
|
|
|
with:
|
|
|
|
node-version: 16.15.1
|
|
|
|
- name: Install root dependencies
|
|
|
|
run: yarn install
|
|
|
|
- name: Generate queries
|
|
|
|
run: node ./scripts/get-tranches.js
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
|
|
with:
|
|
|
|
commit_message: 'chore: update tranches'
|
|
|
|
commit_options: '--no-verify --signoff'
|
|
|
|
skip_fetch: true
|
|
|
|
skip_checkout: true
|