mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-03 01:44:29 +00:00
Merge pull request #7814 from fidencio/topic/gha-rebase-prs-atop-of-main-for-the-tests
gha: Rebase PR atop of the target branch before testing
This commit is contained in:
2
.github/workflows/add-issues-to-project.yaml
vendored
2
.github/workflows/add-issues-to-project.yaml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
popd &>/dev/null
|
popd &>/dev/null
|
||||||
|
|
||||||
- name: Checkout code to allow hub to communicate with the project
|
- name: Checkout code to allow hub to communicate with the project
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Add issue to issue backlog
|
- name: Add issue to issue backlog
|
||||||
env:
|
env:
|
||||||
|
4
.github/workflows/add-pr-sizing-label.yaml
vendored
4
.github/workflows/add-pr-sizing-label.yaml
vendored
@@ -21,7 +21,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
||||||
|
|
||||||
- name: Install PR sizing label script
|
- name: Install PR sizing label script
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/ci-on-push.yaml
vendored
2
.github/workflows/ci-on-push.yaml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
if: ${{ contains(github.event.pull_request.labels.*.name, 'ok-to-test') }}
|
if: ${{ contains(github.event.pull_request.labels.*.name, 'ok-to-test') }}
|
||||||
uses: ./.github/workflows/ci.yaml
|
uses: ./.github/workflows/ci.yaml
|
||||||
with:
|
with:
|
||||||
commit-hash: ${{ github.event.pull_request.head.sha }}
|
commit-hash: ${{ github.event.pull_request.merge_commit_sha }}
|
||||||
pr-number: ${{ github.event.pull_request.number }}
|
pr-number: ${{ github.event.pull_request.number }}
|
||||||
tag: ${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}
|
tag: ${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
2
.github/workflows/darwin-tests.yaml
vendored
2
.github/workflows/darwin-tests.yaml
vendored
@@ -21,6 +21,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: 1.19.3
|
go-version: 1.19.3
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Build utils
|
- name: Build utils
|
||||||
run: ./ci/darwin-test.sh
|
run: ./ci/darwin-test.sh
|
||||||
|
2
.github/workflows/docs-url-alive-check.yaml
vendored
2
.github/workflows/docs-url-alive-check.yaml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
|
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
|
||||||
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
|
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: ./src/github.com/${{ github.repository }}
|
path: ./src/github.com/${{ github.repository }}
|
||||||
|
@@ -38,7 +38,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Checkout code to allow hub to communicate with the project
|
- name: Checkout code to allow hub to communicate with the project
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
||||||
|
|
||||||
- name: Move issue to "In progress"
|
- name: Move issue to "In progress"
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
|
@@ -36,7 +36,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Checkout code to allow hub to communicate with the project
|
- name: Checkout code to allow hub to communicate with the project
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.merge_commit_sha }}
|
||||||
|
|
||||||
- name: Install porting checker script
|
- name: Install porting checker script
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user