103793c6f6
* ci: test branch is behaving the same as master * chore: update tranches Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: update tranches Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * ci: identical file * chore: update tranches Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * ci: set github token * chore: update tranches Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * ci: github env nessecary? * chore: update tranches Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * ci: move back to cron Co-authored-by: dexturr <dexturr@users.noreply.github.com>
33 lines
796 B
YAML
33 lines
796 B
YAML
name: Generate tranches
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 8 * * *'
|
|
|
|
jobs:
|
|
master:
|
|
name: Generate Queries
|
|
runs-on: ubuntu-latest
|
|
|
|
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.14.0
|
|
- 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
|