Skip to content

Commit

Permalink
test issue body
Browse files Browse the repository at this point in the history
  • Loading branch information
endakelly committed Apr 29, 2024
1 parent 68cbb3e commit 3e63629
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/parsegithubissue-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Auto Parse github form - pull request
run-name: ${{ github.actor }} - PR:${{ github.event.pull_request.number }}
on:
pull_request:
issues:
types:
- opened
- edited
- labeled
env:
GH_TOKEN: ${{ secrets.PLATFORM_USER_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.TEST_CHANNEL_SLACK_WEBHOOK }}
Expand All @@ -14,7 +19,7 @@ jobs:
process-request:
permissions: write-all
runs-on: ubuntu-latest
if: github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'hmcts-platform-operations'
if: github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'hmcts-platform-operations' && contains(github.event.issue.labels.*.name, 'bug')
steps:
#Allows workflow to access repo
- name: Checkout
Expand Down Expand Up @@ -131,7 +136,7 @@ jobs:
id: parse_issue
uses: stefanbuck/github-issue-parser@v3.1.0
with:
issue-body: ${{ env.ISSUE_BODY }}
# issue-body: ${{ env.ISSUE_BODY }}
template-path: .github/ISSUE_TEMPLATE/3-skip-auto-shutdown-request.yaml

#Save parsed date into environment variables
Expand Down

0 comments on commit 3e63629

Please sign in to comment.