We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f49f4e commit 54c4ce2Copy full SHA for 54c4ce2
.github/workflows/run-pr-tests.yaml
@@ -3,8 +3,10 @@ on: [pull_request, workflow_dispatch]
3
concurrency:
4
group: ${{ github.workflow }}-${{ github.ref }}
5
cancel-in-progress: true
6
+permissions:
7
+ actions: read # download-artifact
8
+ contents: read # required for actions/checkout
9
jobs:
-
10
run-sanity-tests:
11
needs: build-noobaa-image
12
uses: ./.github/workflows/sanity.yaml
@@ -62,7 +64,7 @@ jobs:
62
64
run: |
63
65
DOCKER_BUILDER_IMAGE=noobaa/noobaa-builder
66
DOCKER_BASE_IMAGE=noobaa/noobaa-base
- if [[ -n ${{github.base_ref}} ]]; then
67
+ if [[ -n "${{github.base_ref}}" ]]; then
68
#on pull request, use target branch
69
BRANCH=${{github.base_ref}}
70
else
0 commit comments