Skip to content

Commit

Permalink
avoid using main branch when label added
Browse files Browse the repository at this point in the history
  • Loading branch information
roothorp committed Mar 13, 2024
1 parent 5504a83 commit 801f724
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/openshift-upgrade-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
name: Check out code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref }}
fetch-depth: 0 # required for tags
- if: ${{ inputs.forked == true }}
name: Check out code
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-e2e-gov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref }}
submodules: true
- name: Create k8s Kind Cluster
if: ${{ !env.ACT }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
name: Check out code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref }}
submodules: true
fetch-depth: 0
- if: ${{ inputs.forked == true }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- if: ${{ inputs.forked == false }}
name: Check out code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref }}

- if: ${{ inputs.forked == true }}
name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion .licenses-gomod.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
100644 27936c39e8bedb66cbe2a674b975fe8a9498efd4 go.mod
100644 f9cfa1be8ceb6260438d09d0b51bb62053234b3f go.mod

0 comments on commit 801f724

Please sign in to comment.