Skip to content

Commit 2f28ce9

Browse files
Merge pull request #220 from NHSDigital/mesh-2092-fixes-to-dependabot
mesh-2092: remove github actor parameter
2 parents 60a4872 + c738030 commit 2f28ce9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 3 additions & 3 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

0 commit comments

Comments
 (0)