diff --git a/.github/workflows/documentation-links.yml b/.github/workflows/documentation-links.yml index 6c48fe5..4fe24d5 100644 --- a/.github/workflows/documentation-links.yml +++ b/.github/workflows/documentation-links.yml @@ -1,12 +1,14 @@ name: readthedocs preview on: - pull_request_target: - types: - - opened - # Execute this action only on PRs that touch - # documentation files. - # paths: - # - "docs/**" + pull_request: + branches: [ "main" ] + # pull_request_target: + # types: + # - opened + # # Execute this action only on PRs that touch + # # documentation files. + # # paths: + # # - "docs/**" permissions: pull-requests: write diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 12d1e4c..dca5bed 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -2,8 +2,9 @@ name: pre-commit on: pull_request: + branches: [ "main" ] push: - branches: [main] + branches: [ "main" ] jobs: pre-commit: