diff --git a/.github/workflows/add-GHrequest-to-team-board.yml b/.github/workflows/add-GHrequest-to-team-board.yml index 1971049..b4217c4 100644 --- a/.github/workflows/add-GHrequest-to-team-board.yml +++ b/.github/workflows/add-GHrequest-to-team-board.yml @@ -28,7 +28,7 @@ jobs: add_label: runs-on: ubuntu-latest # This is defined on all 2 jobs - so need to change x2 if changing this. - if: ${{ (contains(github.event.issue.title, '[GH Request]') || startsWith(github.event.issue.body, 'Firm Name')) && !contains(github.event.issue.labels.*.name, 'github-request') }} + if: ${{ (contains(github.event.issue.title, '[GH Request]') || startsWith(github.event.issue.body, '## Firm Name')) && !contains(github.event.issue.labels.*.name, 'github-request') }} steps: - name: apply github-request label uses: actions-ecosystem/action-add-labels@v1 @@ -37,7 +37,7 @@ jobs: move_and_notify: runs-on: ubuntu-latest - if: ${{ contains(github.event.issue.title, '[GH Request]') || startsWith(github.event.issue.body, 'Firm Name') || contains(github.event.issue.labels.*.name, 'github-request')}} + if: ${{ contains(github.event.issue.title, '[GH Request]') || startsWith(github.event.issue.body, '## Firm Name') || contains(github.event.issue.labels.*.name, 'github-request')}} steps: - name: Generate token id: generate_token