diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ba445dcd..0a18c2b7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,6 +41,7 @@ jobs: run: tox run -e unit sync-docs: + if: ${{ github.event_name != 'pull_request' || startsWith(github.event.pull_request.head.repo.full_name, 'canonical/') }} uses: ./.github/workflows/sync_docs.yaml secrets: inherit permissions: