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 21, 2024
1 parent 498e303 commit 0d739ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
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
5 changes: 5 additions & 0 deletions .github/workflows/test-int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
nodes: 1

steps:
- name: Print refs
run: |
echo ${{github.head_ref}}
echo ${{github.ref}}
- if: ${{ inputs.forked == false }}
name: Check out code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .licenses-gomod.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
100644 6e4f1f4bfe3221508b099d43e2af672a3ef224c9 go.mod
100644 7a60e838b5b0f5aa778a2eb04ee5a06e8838c43c go.mod

0 comments on commit 0d739ea

Please sign in to comment.