Notice generation #59
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: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install toolchain | |
uses: ./.github/actions/install-rust-toolchain | |
- name: Cache Dependencies | |
uses: Swatinem/rust-cache@v1 | |
- name: Generate the Notice | |
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_TOKEN: ${{ secrets.GITHUB_TOKEN }} |