diff options
Diffstat (limited to '.github/workflows/update-documentation.yml')
-rw-r--r-- | .github/workflows/update-documentation.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml index 58f74ed..0f50c29 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update-documentation.yml @@ -8,7 +8,7 @@ on: jobs: generate: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')" + if: "github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')" steps: - uses: actions/checkout@v2 |