-
Notifications
You must be signed in to change notification settings - Fork 682
37 lines (33 loc) · 1017 Bytes
/
update.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
name: update
on:
schedule:
# Run weekly
- cron: "0 0 * * SUN"
workflow_dispatch:
# Needed so we can run it manually
jobs:
update:
name: Update
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- uses: dtolnay/rust-toolchain@nightly
- name: Update
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "<>"
git config --global url."https://github.com/".insteadOf "[email protected]:"
./scripts/gen_output.sh
- name: Create pull request
uses: peter-evans/create-pull-request@v5
with:
commit-message: "update command output"
title: "chore(output): weekly command output update"
body: |
Automation to keep command output up to date.
branch: chore/output-update