ADSECGH-35: Set-up-unit-testing-and-code-coverage #144
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a basic workflow to help you get started with Actions | |
name: Check Jira key in PR title exists and is valid | |
# Runs when opening or changing a PR | |
on: | |
pull_request: | |
types: [opened, edited, reopened, synchronize] | |
branches: | |
- main | |
jobs: | |
# This workflow contains a single job called "check-jira" | |
check-jira: | |
# Run on Ubuntu (Linux) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: arup-group/action-pr-title-jira-check@main | |
if: startsWith( github.event.pull_request.head.ref, 'release') == false | |
with: | |
prTitle: '${{ github.event.pull_request.title }}' | |
jiraSecret: '${{ secrets.JIRA_PASSWORD }}' | |
statusCategory: 'In Progress' | |
jiraUsername: '[email protected]' |