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 b83f32eCopy full SHA for b83f32e
.github/workflows/run-pr-tests.yaml
@@ -3,8 +3,12 @@ on: [pull_request, workflow_dispatch]
3
concurrency:
4
group: ${{ github.workflow }}-${{ github.ref }}
5
cancel-in-progress: true
6
-jobs:
+
7
+permissions:
8
+ actions: read # download-artifact
9
+ contents: read # required for actions/checkout
10
11
+jobs:
12
run-sanity-tests:
13
needs: build-noobaa-image
14
uses: ./.github/workflows/sanity.yaml
@@ -62,7 +66,7 @@ jobs:
62
66
run: |
63
67
DOCKER_BUILDER_IMAGE=noobaa/noobaa-builder
64
68
DOCKER_BASE_IMAGE=noobaa/noobaa-base
65
- if [[ -n ${{github.base_ref}} ]]; then
69
+ if [[ -n "${{github.base_ref}}" ]]; then
70
#on pull request, use target branch
71
BRANCH=${{github.base_ref}}
72
else
0 commit comments