diff --git a/.github/workflows/dependabot-auto-merge.yaml b/.github/workflows/dependabot-auto-merge.yaml index 28a1941..95f57ed 100644 --- a/.github/workflows/dependabot-auto-merge.yaml +++ b/.github/workflows/dependabot-auto-merge.yaml @@ -12,7 +12,7 @@ on: jobs: enable-automerge: # Only run on Dependabot PRs - if: github.event.pull_request.user.login == 'dependabot[bot]' + if: github.actor == 'dependabot[bot]' runs-on: ubuntu-latest permissions: contents: write diff --git a/.github/workflows/merge-develop.yml b/.github/workflows/merge-develop.yml index e1b8e99..9625fc3 100644 --- a/.github/workflows/merge-develop.yml +++ b/.github/workflows/merge-develop.yml @@ -98,7 +98,7 @@ jobs: - name: publish junit reports if: success() || failure() - uses: mikepenz/action-junit-report@a294a61c909bd8a4b563024a2faa28897fd53ebc + uses: mikepenz/action-junit-report@74626db7353a25a20a72816467ebf035f674c5f8 with: check_name: junit reports report_paths: reports/junit/*.xml diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 17d9258..e8ab100 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -140,7 +140,7 @@ jobs: - name: publish junit reports if: success() || failure() - uses: mikepenz/action-junit-report@a294a61c909bd8a4b563024a2faa28897fd53ebc + uses: mikepenz/action-junit-report@74626db7353a25a20a72816467ebf035f674c5f8 with: check_name: junit reports report_paths: reports/junit/*.xml @@ -318,7 +318,7 @@ jobs: needs: - coverage - lint - if: ${{ always() && github.repository == 'NHSDigital/mesh-sandbox' && github.event.pull_request.user.login == 'dependabot[bot]' && contains(needs.*.result, 'failure') }} + if: ${{ always() && github.repository == 'NHSDigital/mesh-sandbox' && github.actor== 'dependabot[bot]' && contains(needs.*.result, 'failure') }} steps: - name: Slack Notification uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a