Files
kata-containers/.github/workflows/ci-nightly.yaml
Fabiano Fidêncio ddf4afb961 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>
2023-07-06 22:02:08 +02:00

24 lines
501 B
YAML

name: Kata Containers Nightly CI
on:
schedule:
- cron: '0 0 * * *'
env:
COMMIT_HASH: ${GITHUB_REF}
jobs:
set-fake-pr-number:
runs-on: ubuntu-latest
steps:
- name: Set fake PR number
run: |
echo "PR_NUMBER=$(date +%Y%m%d%H%M%S)" >> "$GITHUB_ENV"
kata-containers-ci-on-push:
needs: set-fake-pr-number
uses: ./.github/workflows/ci.yaml
with:
commit-hash: $COMMIT_HASH
pr-number: $PR_NUMBER
tag: $PR_NUMBER-$COMMIT_HASH-nightly