Skip to content

Commit

Permalink
105924: adding new action (#7)
Browse files Browse the repository at this point in the history
adding new action
  • Loading branch information
saimekala07 authored Apr 18, 2024
1 parent 326b560 commit 4928930
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ticket-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Ticket Check

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

jobs:
title:
name: ticket check
runs-on: ubuntu-latest

steps:
- name: Check for ticket
uses: neofinancial/ticket-check-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ticketLink: 'https://redmine.priv.dchbx.org/issues/%ticketNumber%'
bodyRegex: 'RM-(?<ticketNumber>\d+)'
bodyURLRegex: 'https?:\/\/redmine\.priv\.dchbx\.org\/issues\/(?<ticketNumber>\d+)'

0 comments on commit 4928930

Please sign in to comment.