From 1bd7e9ec398de9c92d80fe5d1a44ef98d4b1af24 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 9 Feb 2025 10:27:08 -0700 Subject: [PATCH] ci: maybe fixup pushing to the nightly release --- .github/workflows/gen_centos9_continuous.yml | 8 ++++++-- .github/workflows/gen_centos9_tag.yml | 4 ++++ .github/workflows/gen_debian10.3_continuous.yml | 8 ++++++-- .github/workflows/gen_debian10.3_tag.yml | 4 ++++ .github/workflows/gen_debian11_continuous.yml | 8 ++++++-- .github/workflows/gen_debian11_tag.yml | 4 ++++ .github/workflows/gen_debian12_continuous.yml | 8 ++++++-- .github/workflows/gen_debian12_tag.yml | 4 ++++ .github/workflows/gen_fedora38_continuous.yml | 8 ++++++-- .github/workflows/gen_fedora38_tag.yml | 4 ++++ .github/workflows/gen_fedora39_continuous.yml | 8 ++++++-- .github/workflows/gen_fedora39_tag.yml | 4 ++++ .github/workflows/gen_fedora40_continuous.yml | 8 ++++++-- .github/workflows/gen_fedora40_tag.yml | 4 ++++ .github/workflows/gen_macos.yml | 2 +- .github/workflows/gen_macos_continuous.yml | 10 +++++++--- .github/workflows/gen_macos_tag.yml | 6 +++++- .github/workflows/gen_ubuntu20.04_continuous.yml | 8 ++++++-- .github/workflows/gen_ubuntu20.04_tag.yml | 4 ++++ .github/workflows/gen_ubuntu22.04_continuous.yml | 8 ++++++-- .github/workflows/gen_ubuntu22.04_tag.yml | 4 ++++ .github/workflows/gen_ubuntu24.04_continuous.yml | 8 ++++++-- .github/workflows/gen_ubuntu24.04_tag.yml | 4 ++++ .github/workflows/gen_windows_continuous.yml | 8 ++++++-- .github/workflows/gen_windows_tag.yml | 4 ++++ ci/generate-workflows.py | 8 ++++++-- 26 files changed, 129 insertions(+), 29 deletions(-) diff --git a/.github/workflows/gen_centos9_continuous.yml b/.github/workflows/gen_centos9_continuous.yml index 6b70495a2..e65685395 100644 --- a/.github/workflows/gen_centos9_continuous.yml +++ b/.github/workflows/gen_centos9_continuous.yml @@ -1,8 +1,8 @@ name: centos9_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -115,6 +115,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_centos9_tag.yml b/.github/workflows/gen_centos9_tag.yml index e438e58d3..4baaf0a8f 100644 --- a/.github/workflows/gen_centos9_tag.yml +++ b/.github/workflows/gen_centos9_tag.yml @@ -94,6 +94,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_debian10.3_continuous.yml b/.github/workflows/gen_debian10.3_continuous.yml index c38c79e63..385e6c4c2 100644 --- a/.github/workflows/gen_debian10.3_continuous.yml +++ b/.github/workflows/gen_debian10.3_continuous.yml @@ -1,8 +1,8 @@ name: debian10.3_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -117,6 +117,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_debian10.3_tag.yml b/.github/workflows/gen_debian10.3_tag.yml index b2f2a85a3..452fad42c 100644 --- a/.github/workflows/gen_debian10.3_tag.yml +++ b/.github/workflows/gen_debian10.3_tag.yml @@ -96,6 +96,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_debian11_continuous.yml b/.github/workflows/gen_debian11_continuous.yml index 68002e375..cd412bf3d 100644 --- a/.github/workflows/gen_debian11_continuous.yml +++ b/.github/workflows/gen_debian11_continuous.yml @@ -1,8 +1,8 @@ name: debian11_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -117,6 +117,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_debian11_tag.yml b/.github/workflows/gen_debian11_tag.yml index 2e98134cb..cb3868833 100644 --- a/.github/workflows/gen_debian11_tag.yml +++ b/.github/workflows/gen_debian11_tag.yml @@ -96,6 +96,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_debian12_continuous.yml b/.github/workflows/gen_debian12_continuous.yml index 96a4e348c..5f3888b9d 100644 --- a/.github/workflows/gen_debian12_continuous.yml +++ b/.github/workflows/gen_debian12_continuous.yml @@ -1,8 +1,8 @@ name: debian12_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -117,6 +117,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_debian12_tag.yml b/.github/workflows/gen_debian12_tag.yml index 0377d4e49..bb06fa7ca 100644 --- a/.github/workflows/gen_debian12_tag.yml +++ b/.github/workflows/gen_debian12_tag.yml @@ -96,6 +96,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_fedora38_continuous.yml b/.github/workflows/gen_fedora38_continuous.yml index 6696a31b9..d6ecf3f40 100644 --- a/.github/workflows/gen_fedora38_continuous.yml +++ b/.github/workflows/gen_fedora38_continuous.yml @@ -1,8 +1,8 @@ name: fedora38_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -112,6 +112,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_fedora38_tag.yml b/.github/workflows/gen_fedora38_tag.yml index 564af3eb7..3dca455c1 100644 --- a/.github/workflows/gen_fedora38_tag.yml +++ b/.github/workflows/gen_fedora38_tag.yml @@ -91,6 +91,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_fedora39_continuous.yml b/.github/workflows/gen_fedora39_continuous.yml index 1f205f520..6c6285303 100644 --- a/.github/workflows/gen_fedora39_continuous.yml +++ b/.github/workflows/gen_fedora39_continuous.yml @@ -1,8 +1,8 @@ name: fedora39_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -112,6 +112,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_fedora39_tag.yml b/.github/workflows/gen_fedora39_tag.yml index 81201d166..5081b01d3 100644 --- a/.github/workflows/gen_fedora39_tag.yml +++ b/.github/workflows/gen_fedora39_tag.yml @@ -91,6 +91,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_fedora40_continuous.yml b/.github/workflows/gen_fedora40_continuous.yml index 40f227945..abe47e696 100644 --- a/.github/workflows/gen_fedora40_continuous.yml +++ b/.github/workflows/gen_fedora40_continuous.yml @@ -1,8 +1,8 @@ name: fedora40_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -112,6 +112,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_fedora40_tag.yml b/.github/workflows/gen_fedora40_tag.yml index bc8d38f12..2beb1b9b5 100644 --- a/.github/workflows/gen_fedora40_tag.yml +++ b/.github/workflows/gen_fedora40_tag.yml @@ -91,6 +91,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_macos.yml b/.github/workflows/gen_macos.yml index 81a8beb51..0b09d9c9a 100644 --- a/.github/workflows/gen_macos.yml +++ b/.github/workflows/gen_macos.yml @@ -25,7 +25,7 @@ jobs: CARGO_INCREMENTAL: "0" SCCACHE_GHA_ENABLED: "true" RUSTC_WRAPPER: "sccache" - MACOSX_DEPLOYMENT_TARGET: "10.9" + MACOSX_DEPLOYMENT_TARGET: "10.12" steps: - name: "checkout repo" diff --git a/.github/workflows/gen_macos_continuous.yml b/.github/workflows/gen_macos_continuous.yml index 4d64dcf61..f22d370f8 100644 --- a/.github/workflows/gen_macos_continuous.yml +++ b/.github/workflows/gen_macos_continuous.yml @@ -1,8 +1,8 @@ name: macos_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -28,7 +28,7 @@ jobs: CARGO_INCREMENTAL: "0" SCCACHE_GHA_ENABLED: "true" RUSTC_WRAPPER: "sccache" - MACOSX_DEPLOYMENT_TARGET: "10.9" + MACOSX_DEPLOYMENT_TARGET: "10.12" steps: - name: "checkout repo" @@ -109,6 +109,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "checkout repo" diff --git a/.github/workflows/gen_macos_tag.yml b/.github/workflows/gen_macos_tag.yml index 2d015eedc..a837cb915 100644 --- a/.github/workflows/gen_macos_tag.yml +++ b/.github/workflows/gen_macos_tag.yml @@ -13,7 +13,7 @@ jobs: CARGO_INCREMENTAL: "0" SCCACHE_GHA_ENABLED: "true" RUSTC_WRAPPER: "sccache" - MACOSX_DEPLOYMENT_TARGET: "10.9" + MACOSX_DEPLOYMENT_TARGET: "10.12" steps: - name: "checkout repo" @@ -107,6 +107,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "checkout repo" diff --git a/.github/workflows/gen_ubuntu20.04_continuous.yml b/.github/workflows/gen_ubuntu20.04_continuous.yml index 61ba1e18c..10bd312bc 100644 --- a/.github/workflows/gen_ubuntu20.04_continuous.yml +++ b/.github/workflows/gen_ubuntu20.04_continuous.yml @@ -1,8 +1,8 @@ name: ubuntu20.04_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -134,6 +134,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_ubuntu20.04_tag.yml b/.github/workflows/gen_ubuntu20.04_tag.yml index ff6dcf4a3..b0ae23fa1 100644 --- a/.github/workflows/gen_ubuntu20.04_tag.yml +++ b/.github/workflows/gen_ubuntu20.04_tag.yml @@ -124,6 +124,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_ubuntu22.04_continuous.yml b/.github/workflows/gen_ubuntu22.04_continuous.yml index 3e7135040..1281b05e4 100644 --- a/.github/workflows/gen_ubuntu22.04_continuous.yml +++ b/.github/workflows/gen_ubuntu22.04_continuous.yml @@ -1,8 +1,8 @@ name: ubuntu22.04_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -117,6 +117,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_ubuntu22.04_tag.yml b/.github/workflows/gen_ubuntu22.04_tag.yml index 5d2a8fe60..4368b74cd 100644 --- a/.github/workflows/gen_ubuntu22.04_tag.yml +++ b/.github/workflows/gen_ubuntu22.04_tag.yml @@ -96,6 +96,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_ubuntu24.04_continuous.yml b/.github/workflows/gen_ubuntu24.04_continuous.yml index 5f9f969fc..01109f9bf 100644 --- a/.github/workflows/gen_ubuntu24.04_continuous.yml +++ b/.github/workflows/gen_ubuntu24.04_continuous.yml @@ -1,8 +1,8 @@ name: ubuntu24.04_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -117,6 +117,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_ubuntu24.04_tag.yml b/.github/workflows/gen_ubuntu24.04_tag.yml index 796b6311d..434eccfe3 100644 --- a/.github/workflows/gen_ubuntu24.04_tag.yml +++ b/.github/workflows/gen_ubuntu24.04_tag.yml @@ -96,6 +96,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "Workaround git permissions issue" diff --git a/.github/workflows/gen_windows_continuous.yml b/.github/workflows/gen_windows_continuous.yml index e65c56233..29df82c4e 100644 --- a/.github/workflows/gen_windows_continuous.yml +++ b/.github/workflows/gen_windows_continuous.yml @@ -1,8 +1,8 @@ name: windows_continuous on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main @@ -96,6 +96,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "checkout repo" diff --git a/.github/workflows/gen_windows_tag.yml b/.github/workflows/gen_windows_tag.yml index 57e679e01..2c7c17133 100644 --- a/.github/workflows/gen_windows_tag.yml +++ b/.github/workflows/gen_windows_tag.yml @@ -82,6 +82,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write steps: - name: "checkout repo" diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index 23d28c970..22603d449 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -1080,6 +1080,10 @@ jobs: upload: runs-on: ubuntu-latest needs: build + permissions: + contents: write + pages: write + id-token: write """ ) uploader.render(f, 3) @@ -1116,8 +1120,8 @@ def continuous_actions(): lambda t: t.continuous(), trigger=""" on: -# schedule: -# - cron: "10 3 * * *" + schedule: + - cron: "10 3 * * *" push: branches: - main