From a0cea0f74e022a85061f5e5373c77644783c4f92 Mon Sep 17 00:00:00 2001 From: jason yang Date: Thu, 7 Dec 2023 02:43:54 +0000 Subject: [PATCH 1/2] remove update_latest_release tag Signed-off-by: jason yang --- .github/actions/generate/action.yml | 3 +-- .github/actions/rpm/action.yml | 1 - .github/workflows/nightly.yml | 4 ++++ CHANGELOG.md | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/actions/generate/action.yml b/.github/actions/generate/action.yml index a9cd8e47..c1227fb8 100644 --- a/.github/actions/generate/action.yml +++ b/.github/actions/generate/action.yml @@ -104,7 +104,7 @@ runs: cat << EOF >> nightly.release.note THIS IS A NIGHTLY RELEASE - This release contains latest commits, which is feature unstable version + This release contains latest commits, which is a feature unstable version ${{ steps.commits.outputs.raw }} @@ -124,7 +124,6 @@ runs: prerelease: true draft: false default_release_name: "warewulf nightly release" - update_latest_release: true overwrite: true - name: Update nightly release content diff --git a/.github/actions/rpm/action.yml b/.github/actions/rpm/action.yml index b9d22900..dbe310ae 100644 --- a/.github/actions/rpm/action.yml +++ b/.github/actions/rpm/action.yml @@ -106,5 +106,4 @@ runs: with: release_id: ${{ inputs.event-id }} file: "/var/lib/mock/${{ inputs.target }}/result/${{ env.RPM }};/var/lib/mock/${{ inputs.target }}/result/${{ env.SRPM }}" - update_latest_release: true overwrite: true \ No newline at end of file diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 9e5c5bd1..7f17a61c 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -18,6 +18,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v3 + with: + ref: 'main' - uses: ./.github/actions/generate name: generate warewulf spec, dist and collect commits info id: generate @@ -55,6 +57,8 @@ jobs: steps: - name: Checkout Code uses: actions/checkout@v3 + with: + ref: 'main' - uses: ./.github/actions/rpm name: build rpms id: rpm diff --git a/CHANGELOG.md b/CHANGELOG.md index d8aaed17..a46e5236 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Configure network device MTU in nework configuration scripts. #807 - OpenSUSE Leap build rebased to 15.5 (15.3 is EOL) - New build for Rocky Linux 9 -- Add nightly release support +- Add nightly release support. #969 ### Fixed - Make Variables.mk consistent with spec file w.r.t. WWPROVISIONDIR, e.g. From 618ba74b8bf8e1d12d9c6091df88319df491fc73 Mon Sep 17 00:00:00 2001 From: jason yang Date: Thu, 7 Dec 2023 03:50:09 +0000 Subject: [PATCH 2/2] add workflow_dispatch Signed-off-by: jason yang --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 7f17a61c..2b11d059 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -2,7 +2,7 @@ name: nightly on: - #push: + workflow_dispatch: schedule: - cron: '05 00 * * *'