mirror of
https://github.com/rust-unofficial/awesome-rust
synced 2024-11-16 06:12:56 +00:00
Merge pull request #1098 from palfrey/crons
Cron jobs to auto-approve for running, and retest the list
This commit is contained in:
commit
919df744fb
16
.github/workflows/approve.yml
vendored
Normal file
16
.github/workflows/approve.yml
vendored
Normal file
@ -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"
|
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
@ -5,6 +5,8 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
Loading…
Reference in New Issue
Block a user