Skip to content

Commit

Permalink
Do not use merge commit
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
  • Loading branch information
mauromorales committed Jun 22, 2023
1 parent 9d7776c commit 5a51099
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: |
git fetch --prune --unshallow
- id: set-matrix
Expand Down Expand Up @@ -48,6 +50,8 @@ jobs:
matrix: ${{fromJson(needs.get-matrix.outputs.matrix)}}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: |
git fetch --prune --unshallow
- name: setup-docker
Expand Down Expand Up @@ -137,6 +141,8 @@ jobs:
matrix: ${{fromJson(needs.get-matrix.outputs.matrix)}}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: |
git fetch --prune --unshallow
- name: Install Cosign
Expand Down Expand Up @@ -181,6 +187,8 @@ jobs:
- flavor: opensuse-leap
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: |
git fetch --prune --unshallow
- name: Download artifacts
Expand Down Expand Up @@ -237,6 +245,8 @@ jobs:
- flavor: "ubuntu"
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Download artifacts
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -269,6 +279,8 @@ jobs:
- flavor: "ubuntu-22-lts"
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: |
git fetch --prune --unshallow
- name: Download artifacts
Expand All @@ -294,6 +306,8 @@ jobs:
- flavor: opensuse-tumbleweed # Kubo test needs systemd version 252+ which atm is not available in Leap
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: |
git fetch --prune --unshallow
- name: Download artifacts
Expand Down Expand Up @@ -335,6 +349,8 @@ jobs:
- flavor: opensuse-leap
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: |
git fetch --prune --unshallow
- name: Download artifacts
Expand Down Expand Up @@ -377,6 +393,8 @@ jobs:
- flavor: ubuntu
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: |
git fetch --prune --unshallow
- name: Install earthly
Expand All @@ -398,6 +416,8 @@ jobs:
- flavor: opensuse-leap
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: |
git fetch --prune --unshallow
- name: Download artifacts
Expand Down Expand Up @@ -470,6 +490,8 @@ jobs:
# - flavor: "ubuntu"
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: |
git fetch --prune --unshallow
- name: Download artifacts
Expand Down Expand Up @@ -543,6 +565,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v4
Expand Down

0 comments on commit 5a51099

Please sign in to comment.