Skip to content

Commit

Permalink
Refine triggers to avoid replicated runs on PRs (#267)
Browse files Browse the repository at this point in the history
* Refine triggers to avoid replicated runs on PRs

* Remove branch restriction for PR trigger
  • Loading branch information
farshidtz authored Aug 8, 2024
1 parent 6a0e7b1 commit 8b4dedb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/automatic-doc-checks.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Main Documentation Checks

on:
- push
- pull_request
- workflow_dispatch
push:
branches: [ main ]
pull_request:
# Manual trigger
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -13,4 +15,4 @@ jobs:
documentation-checks:
uses: canonical/documentation-workflows/.github/workflows/documentation-checks.yaml@main
with:
working-directory: '.'
working-directory: '.'

0 comments on commit 8b4dedb

Please sign in to comment.