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