Skip to content

Commit 93e5796

Browse files
Removed security for PRs
1 parent c32074a commit 93e5796

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

.github/actions/build-proxies/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ runs:
5454
working-directory: .
5555
shell: bash
5656
run: |
57-
make build-json-oas-spec APIM_ENV=dev
57+
if [ -z $PR_NUMBER ]
58+
then
59+
make build-json-oas-spec APIM_ENV=dev
60+
else
61+
make build-json-oas-spec APIM_ENV=dev-pr
62+
fi
5863
5964
- name: Set target
6065
shell: bash
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
$ref: access-sandbox.yml
1+
$ref: access-dev-pr.yml
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
type: external
2+
healthcheck: /_status
3+
url: https://suppliers.dev.nhsnotify.national.nhs.uk
4+
security:
5+
type: apikey
6+
header: Authorization
7+
secret: nhs-notify-supplier-key
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
$ref: target-sandbox.yml
1+
$ref: target-dev-pr.yml

0 commit comments

Comments
 (0)