Notice generation #98
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: Notice generation | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * 0" # once a week, on sundays at midnight UTC | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
notice_generation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install stable toolchain | |
run: rustup show | |
- name: Cache Dependencies | |
uses: Swatinem/rust-cache@v1 | |
- run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Automated Notice Generation Pipeline" | |
./tools/notice_generation.sh | |
shell: bash | |
env: | |
GITHUB_PAT_TOKEN: ${{ secrets.GITHUB_TOKEN }} |