Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/check-build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,11 @@ jobs:
contents: write
id-token: write

if: github.ref_type == 'tag'
if: |
github.ref_type == 'tag' && (
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'CSSUoB/TeX-Bot-Py-V2') ||
(github.event_name == 'push' && github.repository == 'CSSUoB/TeX-Bot-Py-V2')
)

steps:
- name: Create GitHub Release
Expand Down