Update spec files workflow #64
This file contains hidden or 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 spec files workflow | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # Runs at 12:00am UTC -> 5:00pm PDT | |
| - cron: "0 0 * * *" | |
| # revoke default token permissions | |
| permissions: {} | |
| jobs: | |
| update: | |
| name: update | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # required for "push" mode, to push commits with updated specs to this repo | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 | |
| - uses: aidandenlinger/autocopr@action # TODO: once released, depend on main or a tag/commit instead | |
| with: | |
| mode: "dry-run" # Automatically push spec updates. Alternative options: "check", "dry-run". see action.yml for more. | |
| root_loc: "./specs" |