This removes the event condition on the `update-pr` ci job. Right now, it is not run although it should.
--- /dev/null
+
+name: Cancel
+on:
+ workflow_run:
+ workflows: ["CI"]
+ types:
+ - requested
+
+jobs:
+ cancel:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: styfle/cancel-workflow-action@0.9.1
+ with:
+ workflow_id: ${{ github.event.workflow.id }}
name: CI
jobs:
- cancel:
- runs-on: ubuntu-latest
- steps:
- - name: Cancel Previous Runs
- uses: styfle/cancel-workflow-action@0.5.0
- with:
- access_token: ${{ github.token }}
-
build:
strategy:
matrix:
update-pr:
runs-on: ubuntu-latest
+ if: github.repository == 'cvc5/cvc5' && github.event_name == 'push'
needs: build
- if: github.repository == 'cvc5/cvc5' && github.event == 'push'
steps:
- name: Automatically update PR
uses: adRise/update-pr-branch@v0.5.1