Skip to content
Merged
Changes from all 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
10 changes: 10 additions & 0 deletions .github/workflows/jira-ticket-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ on:
jobs:
check-jira-ticket:
name: Verify Jira Ticket Link
# Only run the check on pull_request events. When this workflow is
# invoked from a caller that also triggers on push:main (e.g., a
# "Pull Request Workflow" that runs on both `pull_request` and
# `push` to main to reuse lint/test jobs), the squash-merge commit
# message often doesn't carry the ticket ID — semantic-conventional
# commits like `refactor(ci): …` are common and legitimate. The
# PR-time check already validated the ticket before the merge
# landed; running it again on push is redundant and produces
# false-negative alerts.
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down