Skip to content

Commit

Permalink
👷 Enable access to enviornment secrets for regtest for PRs from forks
Browse files Browse the repository at this point in the history
  • Loading branch information
shnizzedy and petrsvihlik committed Oct 4, 2023
1 parent a16f259 commit 2913c38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/regression_test_lite.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Launch lite regression test

on:
pull_request:
pull_request_target: # Make sure environment protection is enabled!
branches:
- develop
types:
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
steps:
- name: Get C-PAC branch
run: |
GITHUB_BRANCH=$(echo ${GITHUB_REF} | cut -d '/' -f 3-)
GITHUB_BRANCH=${{ github.event.pull_request.head.ref }}
if [[ ! $GITHUB_BRANCH == 'main' ]] && [[ ! $GITHUB_BRANCH == 'develop' ]]
then
TAG=${GITHUB_BRANCH//\//_}
Expand Down

0 comments on commit 2913c38

Please sign in to comment.