Skip to content

CI: Add fresh_run daily workflow #354

CI: Add fresh_run daily workflow

CI: Add fresh_run daily workflow #354

name: cancel-duplicates
on:
pull_request:
branches-ignore: main
jobs:
cancel-multiple-workflow-runs:
name: "Cancel the self CI workflow run"
runs-on: ubuntu-latest
steps:
- name: "Cancel rust workflow"
uses: potiuk/cancel-workflow-runs@master
with:
cancelMode: allDuplicates
cancelFutureDuplicates: true
token: ${{ secrets.GITHUB_TOKEN }}
workflowFileName: rust.yml
- name: "Cancel benchmark workflow"
uses: potiuk/cancel-workflow-runs@master
with:
cancelMode: allDuplicates
cancelFutureDuplicates: true
token: ${{ secrets.GITHUB_TOKEN }}
workflowFileName: bench_pull_request.yml