Skip to content

Commit 6eb8333

Browse files
Implement fork check for release task (#458)
1 parent 37ff3dc commit 6eb8333

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/check-build-deploy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,9 @@ jobs:
217217
run: uv run -- ruff check --no-fix --output-format=github
218218

219219
build-and-publish:
220+
if: |
221+
github.event_name != 'pull_request' ||
222+
github.event.pull_request.head.repo.full_name == 'CSSUoB/TeX-Bot-Py-V2'
220223
runs-on: ubuntu-latest
221224
environment: publish
222225
needs: [mypy, pre-commit, prevent-migrations-deletion, pymarkdown, pytest, ruff-lint, uv-check]

0 commit comments

Comments
 (0)