update #36
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: 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 |