Skip to content

Commit

Permalink
chore: Check Jira ticket number in PR description (#304)
Browse files Browse the repository at this point in the history
## Summary
Added a check to verify PR description contains a Jira ticket number.

## Ticket:
[OASIS-8321](https://optimizely.atlassian.net/browse/OASIS-8321)
  • Loading branch information
zashraf1985 authored Jul 22, 2022
1 parent ec4b9af commit 0c24bd2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ticket_reference_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Jira ticket reference check

on:
pull_request:
types: [opened, edited, reopened, synchronize]

jobs:

jira_ticket_reference_check:
runs-on: ubuntu-latest

steps:
- name: Check for Jira ticket reference
uses: optimizely/github-action-ticket-reference-checker-public@master
with:
bodyRegex: 'OASIS-(?<ticketNumber>\d+)'

0 comments on commit 0c24bd2

Please sign in to comment.