Skip to content

Commit

Permalink
Add job to cancel docs job when PRs are closed or merged
Browse files Browse the repository at this point in the history
  • Loading branch information
hashhar committed Mar 16, 2022
1 parent e507ac5 commit acc4250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
with:
# Cancel workflow when PR closed. https://github.com/styfle/cancel-workflow-action#advanced-ignore-sha
ignore_sha: true
# Note: workflow_id can be a Workflow ID (number) or Workflow File Name (string).
workflow_id: "ci.yml"
# Note: workflow_id can be a Workflow ID (number) or Workflow File Name (string) or a comma-separated list of those.
workflow_id: "ci.yml,docs.yml"
access_token: ${{ github.token }}

0 comments on commit acc4250

Please sign in to comment.