Skip to content

Commit 54c4ce2

Browse files
committed
test commit
Signed-off-by: nadav mizrahi <nadav.mizrahi16@gmail.com>
1 parent 3f49f4e commit 54c4ce2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/run-pr-tests.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ on: [pull_request, workflow_dispatch]
33
concurrency:
44
group: ${{ github.workflow }}-${{ github.ref }}
55
cancel-in-progress: true
6+
permissions:
7+
actions: read # download-artifact
8+
contents: read # required for actions/checkout
69
jobs:
7-
810
run-sanity-tests:
911
needs: build-noobaa-image
1012
uses: ./.github/workflows/sanity.yaml
@@ -62,7 +64,7 @@ jobs:
6264
run: |
6365
DOCKER_BUILDER_IMAGE=noobaa/noobaa-builder
6466
DOCKER_BASE_IMAGE=noobaa/noobaa-base
65-
if [[ -n ${{github.base_ref}} ]]; then
67+
if [[ -n "${{github.base_ref}}" ]]; then
6668
#on pull request, use target branch
6769
BRANCH=${{github.base_ref}}
6870
else

0 commit comments

Comments
 (0)