mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-02 10:12:33 +00:00
gha: ci: Fix set-fake-pr-number job
It has to have steps declared, and we need to make it a dependency for the nightly kata-containers-ci-on-push job. Fixes: #7247 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
8a0a66655d
commit
ddf4afb961
7
.github/workflows/ci-nightly.yaml
vendored
7
.github/workflows/ci-nightly.yaml
vendored
@ -9,10 +9,13 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
set-fake-pr-number:
|
set-fake-pr-number:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
run: |
|
steps:
|
||||||
echo "PR_NUMBER=$(date +%Y%m%d%H%M%S)" >> "$GITHUB_ENV"
|
- name: Set fake PR number
|
||||||
|
run: |
|
||||||
|
echo "PR_NUMBER=$(date +%Y%m%d%H%M%S)" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
kata-containers-ci-on-push:
|
kata-containers-ci-on-push:
|
||||||
|
needs: set-fake-pr-number
|
||||||
uses: ./.github/workflows/ci.yaml
|
uses: ./.github/workflows/ci.yaml
|
||||||
with:
|
with:
|
||||||
commit-hash: $COMMIT_HASH
|
commit-hash: $COMMIT_HASH
|
||||||
|
Loading…
Reference in New Issue
Block a user