Cron jobs to auto-approve for running, and retest the list

pull/1098/head
Tom Parker-Shemilt 3 years ago
parent e7b335d8dd
commit 57ab1146aa

@ -0,0 +1,16 @@
name: Automatic Approve
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
automatic-approve:
name: Automatic Approve
runs-on: ubuntu-latest
steps:
- name: Automatic Approve
uses: mheap/automatic-approve-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
workflows: "ci.yml"
dangerous_files: "src/main.rs,Cargo.toml,Cargo.lock"

@ -5,6 +5,8 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 0 * * *'
env:
CARGO_TERM_COLOR: always

Loading…
Cancel
Save