Skip to content

DPDB: Bump qs from 6.15.3 to 6.16.0 in /sandbox #1317

DPDB: Bump qs from 6.15.3 to 6.16.0 in /sandbox

DPDB: Bump qs from 6.15.3 to 6.16.0 in /sandbox #1317

Workflow file for this run

name: PR Quality Check
on: pull_request
permissions:
contents: read
pull-requests: write
jobs:
link-ticket:
runs-on: ubuntu-latest
steps:
- name: Check ticket name conforms to requirements
run: echo ${{ github.event.pull_request.head.ref }} | grep -i -E -q "((apm|nhso|AMB)-[0-9]+)|(dependabot\/)"
- name: Grab ticket name
if: contains(github.event.pull_request.head.ref, 'apm-') || contains(github.event.pull_request.head.ref, 'APM-') || contains(github.event.pull_request.head.ref, 'nhso-') || contains(github.event.pull_request.head.ref, 'NHSO-')
run: echo ::set-env name=TICKET_NAME::$(echo ${{ github.event.pull_request.head.ref }} | tr '[:lower:]' '[:upper:]' | grep -i -o '^\(APM\|NHSO\)-[0-9]\+')
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Comment on PR
if: contains(github.event.pull_request.head.ref, 'apm-') || contains(github.event.pull_request.head.ref, 'APM-') || contains(github.event.pull_request.head.ref, 'nhso-') || contains(github.event.pull_request.head.ref, 'NHSO-')
uses: unsplash/comment-on-pr@a9bf050e744c8282dee4bb0dbcf063186d8316c4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: |
This branch is work on a ticket in the NHS Digital APM JIRA Project. Here's a handy link to the ticket:
# [${{ env.TICKET_NAME }}](https://nhsd-jira.digital.nhs.uk/browse/${{ env.TICKET_NAME}})