Skip to content

Commit

Permalink
fix(ci): readthedocs preview not being triggered.
Browse files Browse the repository at this point in the history
  • Loading branch information
183amir committed Jul 8, 2024
1 parent b243db3 commit adc6b77
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/documentation-links.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: pre-commit

on:
pull_request:
branches: [ "main" ]
push:
branches: [main]
branches: [ "main" ]

jobs:
pre-commit:
Expand Down

0 comments on commit adc6b77

Please sign in to comment.