Skip to content

Commit 3356a3f

Browse files
Merge branch 'develop' into dependabot/pip/dependencies-4f3d1cc3b7
2 parents c0e447d + d53f73e commit 3356a3f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/dependabot-auto-merge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- name: Fetch Dependabot metadata
2323
id: metadata
24-
uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7
24+
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a
2525
with:
2626
github-token: ${{ secrets.GITHUB_TOKEN }}
2727

.github/workflows/pull-request.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ jobs:
102102
thresholdAll: 0.85
103103

104104
- name: setup java
105-
if: github.actor != 'dependabot[bot]' && (success() || failure())
105+
if: success() || failure()
106106
uses: actions/setup-java@v5
107107
with:
108108
distribution: "corretto"
109109
java-version: "17"
110110

111111
- name: provision sonar-scanner
112-
if: github.actor != 'dependabot[bot]' && (success() || failure())
112+
if: success() || failure()
113113
run: |
114114
export SONAR_VERSION="4.7.0.2747"
115115
wget -q --max-redirect=0 "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
@@ -118,7 +118,7 @@ jobs:
118118
scripts/sonar_tests.py
119119
120120
- name: run sonar scan
121-
if: github.actor != 'dependabot[bot]' && (success() || failure())
121+
if: success() || failure()
122122
run: |
123123
PATH="$PWD/sonar-scanner/bin:$PATH"
124124
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
@@ -318,7 +318,7 @@ jobs:
318318
needs:
319319
- coverage
320320
- lint
321-
if: ${{ always() && github.repository == 'NHSDigital/mesh-sandbox' && github.actor == 'dependabot[bot]' && contains(needs.*.result, 'failure') }}
321+
if: ${{ always() && github.repository == 'NHSDigital/mesh-sandbox' && github.event.pull_request.user.login == 'dependabot[bot]' && contains(needs.*.result, 'failure') }}
322322
steps:
323323
- name: Slack Notification
324324
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a

0 commit comments

Comments
 (0)