diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index a3bae3864ad22..a2d7a68b92522 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -2,10 +2,26 @@ name: Documentation Updates # Any change in triggers needs to be reflected in the concurrency group. on: - pull_request: {} + pull_request: + paths: + - 'Documentation/**' + - 'bugtool/cmd/**' + - 'cilium/cmd/**' + - 'cilium-health/cmd/**' + - 'daemon/cmd/**' + - 'hubble-relay/cmd/**' + - 'operator/cmd/**' push: branches: - master + paths: + - 'Documentation/**' + - 'bugtool/cmd/**' + - 'cilium/cmd/**' + - 'cilium-health/cmd/**' + - 'daemon/cmd/**' + - 'hubble-relay/cmd/**' + - 'operator/cmd/**' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }}