From fd2dc9de7fae69f5e8f7a6515ca3957907dc777f Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 11 Sep 2024 16:25:19 +0100 Subject: [PATCH 01/19] v2 * Switch from docker manifest to buildx imagetools * Don't push default tags if version is being overridden on workflow dispatch * Improve summary output formatting --- .github/workflows/docker-mod-builder.yml | 104 +++++++++++------------ 1 file changed, 51 insertions(+), 53 deletions(-) diff --git a/.github/workflows/docker-mod-builder.yml b/.github/workflows/docker-mod-builder.yml index 9003677..0860714 100644 --- a/.github/workflows/docker-mod-builder.yml +++ b/.github/workflows/docker-mod-builder.yml @@ -18,6 +18,9 @@ on: MOD_VERSION: required: false type: string + MOD_VERSION_OVERRIDE: + required: false + type: string MULTI_ARCH: required: false type: string @@ -47,18 +50,21 @@ jobs: - name: Set Vars run: | + echo "GITHUB_REPO=${{ inputs.GITHUB_REPO }}" >> $GITHUB_ENV + echo "ENDPOINT=${{ inputs.ENDPOINT }}" >> $GITHUB_ENV echo "BASEIMAGE=${{ inputs.BASEIMAGE }}" >> $GITHUB_ENV - echo "BASEIMAGE=${{ inputs.BASEIMAGE }}" >> $GITHUB_STEP_SUMMARY echo "MODNAME=${{ inputs.MODNAME }}" >> $GITHUB_ENV - echo "MODNAME=${{ inputs.MODNAME }}" >> $GITHUB_STEP_SUMMARY - echo "ENDPOINT=${{ inputs.ENDPOINT }}" >> $GITHUB_ENV - echo "ENDPOINT=${{ inputs.ENDPOINT }}" >> $GITHUB_STEP_SUMMARY - echo "GITHUB_REPO=${{ inputs.GITHUB_REPO }}" >> $GITHUB_ENV - echo "GITHUB_REPO=${{ inputs.GITHUB_REPO }}" >> $GITHUB_STEP_SUMMARY echo "MOD_VERSION=${{ inputs.MOD_VERSION }}" >> $GITHUB_ENV - echo "MOD_VERSION=${{ inputs.MOD_VERSION }}" >> $GITHUB_STEP_SUMMARY + echo "MOD_VERSION_OVERRIDE=${{ inputs.MOD_VERSION_OVERRIDE }}" >> $GITHUB_ENV echo "MULTI_ARCH=${{ inputs.MULTI_ARCH }}" >> $GITHUB_ENV - echo "MULTI_ARCH=${{ inputs.MULTI_ARCH }}" >> $GITHUB_STEP_SUMMARY + echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY + echo "> GITHUB_REPO=${{ inputs.GITHUB_REPO }}" >> $GITHUB_STEP_SUMMARY + echo "> ENDPOINT=${{ inputs.ENDPOINT }}" >> $GITHUB_STEP_SUMMARY + echo "> BASEIMAGE=${{ inputs.BASEIMAGE }}" >> $GITHUB_STEP_SUMMARY + echo "> MODNAME=${{ inputs.MODNAME }}" >> $GITHUB_STEP_SUMMARY + echo "> MOD_VERSION=${{ inputs.MOD_VERSION }}" >> $GITHUB_STEP_SUMMARY + echo "> MOD_VERSION_OVERRIDE=${{ inputs.MOD_VERSION_OVERRIDE }}" >> $GITHUB_STEP_SUMMARY + echo "> MULTI_ARCH=${{ inputs.MULTI_ARCH }}" >> $GITHUB_STEP_SUMMARY - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -75,7 +81,11 @@ jobs: run: | DOCKERHUB_TAGS="${ENDPOINT}:${BASEIMAGE}-${MODNAME} ${ENDPOINT}:${BASEIMAGE}-${MODNAME}-${{ github.sha }}" if [[ -n "${MOD_VERSION}" ]]; then - DOCKERHUB_TAGS="${DOCKERHUB_TAGS} ${ENDPOINT}:${BASEIMAGE}-${MODNAME}-${MOD_VERSION} ${ENDPOINT}:${BASEIMAGE}-${MODNAME}-${MOD_VERSION}-${{ github.sha }}" + if [[ "${MOD_VERSION_OVERRIDE,,}" == "true" ]]; then + DOCKERHUB_TAGS="${ENDPOINT}:${BASEIMAGE}-${MODNAME}-${MOD_VERSION} ${ENDPOINT}:${BASEIMAGE}-${MODNAME}-${MOD_VERSION}-${{ github.sha }}" + else + DOCKERHUB_TAGS="${DOCKERHUB_TAGS} ${ENDPOINT}:${BASEIMAGE}-${MODNAME}-${MOD_VERSION} ${ENDPOINT}:${BASEIMAGE}-${MODNAME}-${MOD_VERSION}-${{ github.sha }}" + fi fi echo "DOCKERHUB_TAGS=${DOCKERHUB_TAGS}" >> $GITHUB_ENV if [[ "${MULTI_ARCH,,}" == "true" ]]; then @@ -129,29 +139,26 @@ jobs: if: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) && env.GITHUB_REPO == github.repository && env.CR_USER && env.CR_PAT }} run: | if [[ "${MULTI_ARCH,,}" == "true" ]]; then - echo "Pushed the following images/tags to GHCR:" >> $GITHUB_STEP_SUMMARY + printf "\n## Pushed the following images/tags to GHCR:\n\n" >> $GITHUB_STEP_SUMMARY for i in ${DOCKERHUB_TAGS}; do ighcr="${i/#/ghcr.io\/}" docker push ${ighcr/:/:amd64-} - echo "${ighcr/:/:amd64-}" >> $GITHUB_STEP_SUMMARY + echo "\`${ighcr/:/:amd64-}\`" >> $GITHUB_STEP_SUMMARY docker push ${ighcr/:/:arm64v8-} - echo "${ighcr/:/:arm64v8-}" >> $GITHUB_STEP_SUMMARY + echo "\`${ighcr/:/:arm64v8-}\`" >> $GITHUB_STEP_SUMMARY done - echo "Pushed the following manifests to GHCR:" >> $GITHUB_STEP_SUMMARY + printf "\n## Pushed the following manifests to GHCR:\n\n" >> $GITHUB_STEP_SUMMARY for i in ${DOCKERHUB_TAGS}; do ighcr="${i/#/ghcr.io\/}" - docker manifest push --purge ${ighcr} || : - docker manifest create ${ighcr} ${ighcr/:/:amd64-} ${ighcr/:/:arm64v8-} - docker manifest annotate ${ighcr} ${ighcr/:/:arm64v8-} --os linux --arch arm64 --variant v8 - docker manifest push --purge ${ighcr} - echo "${ighcr}" >> $GITHUB_STEP_SUMMARY + docker buildx imagetools create -t ${ighcr} ${ighcr/:/:amd64-} ${ighcr/:/:arm64v8-} + echo "\`${ighcr}\`" >> $GITHUB_STEP_SUMMARY done else - echo "Pushed the following images/tags to GHCR:" >> $GITHUB_STEP_SUMMARY + printf "\n## Pushed the following images/tags to GHCR:\n\n" >> $GITHUB_STEP_SUMMARY for i in ${DOCKERHUB_TAGS}; do ighcr="${i/#/ghcr.io\/}" docker push ${ighcr} - echo "${ighcr}" >> $GITHUB_STEP_SUMMARY + echo "\`${ighcr}\`" >> $GITHUB_STEP_SUMMARY done fi @@ -161,19 +168,16 @@ jobs: if [[ "${MULTI_ARCH,,}" == "true" ]]; then docker push ghcr.io/${ENDPOINT}:amd64-pull_request_${{ github.event.pull_request.number }} docker push ghcr.io/${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }} - echo "Pushed the following PR images/tags to GHCR:" >> $GITHUB_STEP_SUMMARY - echo "ghcr.io/${ENDPOINT}:amd64-pull_request_${{ github.event.pull_request.number }}" >> $GITHUB_STEP_SUMMARY - echo "ghcr.io/${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }}" >> $GITHUB_STEP_SUMMARY - docker manifest push --purge ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} || : - docker manifest create ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} ghcr.io/${ENDPOINT}:amd64-pull_request_${{ github.event.pull_request.number }} ghcr.io/${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }} - docker manifest annotate ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} ghcr.io/${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }} --os linux --arch arm64 --variant v8 - docker manifest push --purge ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} - echo "Pushed the following PR manifest to GHCR:" >> $GITHUB_STEP_SUMMARY - echo "ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }}" >> $GITHUB_STEP_SUMMARY + printf "\n## Pushed the following PR images/tags to GHCR:\n\n" >> $GITHUB_STEP_SUMMARY + echo "\`ghcr.io/${ENDPOINT}:amd64-pull_request_${{ github.event.pull_request.number }}\`" >> $GITHUB_STEP_SUMMARY + echo "\`ghcr.io/${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }}\`" >> $GITHUB_STEP_SUMMARY + docker buildx imagetools create -t ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} ghcr.io/${ENDPOINT}:amd64-pull_request_${{ github.event.pull_request.number }} ghcr.io/${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }} + printf "\n## Pushed the following PR manifest to GHCR:\n\n" >> $GITHUB_STEP_SUMMARY + echo "\`ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }}\`" >> $GITHUB_STEP_SUMMARY else docker push ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} - echo "Pushed the following PR image/tag to GHCR:" >> $GITHUB_STEP_SUMMARY - echo "ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }}" >> $GITHUB_STEP_SUMMARY + printf "\n## Pushed the following PR image/tag to GHCR:\n\n" >> $GITHUB_STEP_SUMMARY + echo "\`ghcr.io/${ENDPOINT}:pull_request_${{ github.event.pull_request.number }}\`" >> $GITHUB_STEP_SUMMARY fi - name: Add GHCR push comment to PR @@ -194,26 +198,23 @@ jobs: if: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == format('refs/heads/{0}-{1}', env.BASEIMAGE, env.MODNAME) && env.GITHUB_REPO == github.repository && env.DOCKERUSER && env.DOCKERPASS }} run: | if [[ "${MULTI_ARCH,,}" == "true" ]]; then - echo "Pushed the following images/tags to Docker Hub:" >> $GITHUB_STEP_SUMMARY + printf "\n## Pushed the following images/tags to Docker Hub:\n\n" >> $GITHUB_STEP_SUMMARY for i in ${DOCKERHUB_TAGS}; do docker push ${i/:/:amd64-} - echo "${i/:/:amd64-}" >> $GITHUB_STEP_SUMMARY + echo "\`${i/:/:amd64-}\`" >> $GITHUB_STEP_SUMMARY docker push ${i/:/:arm64v8-} - echo "${i/:/:arm64v8-}" >> $GITHUB_STEP_SUMMARY + echo "\`${i/:/:arm64v8-}\`" >> $GITHUB_STEP_SUMMARY done - echo "Pushed the following manifests to Docker Hub:" >> $GITHUB_STEP_SUMMARY + printf "\n## Pushed the following manifests to Docker Hub:\n\n" >> $GITHUB_STEP_SUMMARY for i in ${DOCKERHUB_TAGS}; do - docker manifest push --purge ${i} || : - docker manifest create ${i} ${i/:/:amd64-} ${i/:/:arm64v8-} - docker manifest annotate ${i} ${i/:/:arm64v8-} --os linux --arch arm64 --variant v8 - docker manifest push --purge ${i} - echo "${i}" >> $GITHUB_STEP_SUMMARY + docker buildx imagetools create -t ${i} ${i/:/:amd64-} ${i/:/:arm64v8-} + echo "\`${i}\`" >> $GITHUB_STEP_SUMMARY done else - echo "Pushed the following images/tags to Docker Hub:" >> $GITHUB_STEP_SUMMARY + printf "\n## Pushed the following images/tags to Docker Hub:\n\n" >> $GITHUB_STEP_SUMMARY for i in ${DOCKERHUB_TAGS}; do docker push ${i} - echo "${i}" >> $GITHUB_STEP_SUMMARY + echo "\`${i}\`" >> $GITHUB_STEP_SUMMARY done fi @@ -223,17 +224,14 @@ jobs: if [[ "${MULTI_ARCH,,}" == "true" ]]; then docker push ${ENDPOINT}:amd64-pull_request_${{ github.event.pull_request.number }} docker push ${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }} - echo "Pushed the following PR images/tags to Docker Hub:" >> $GITHUB_STEP_SUMMARY - echo "${ENDPOINT}:amd64-pull_request_${{ github.event.pull_request.number }}" >> $GITHUB_STEP_SUMMARY - echo "${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }}" >> $GITHUB_STEP_SUMMARY - docker manifest push --purge ${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} || : - docker manifest create ${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} ${ENDPOINT}:amd64-pull_request_${{ github.event.pull_request.number }} ${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }} - docker manifest annotate ${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} ${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }} --os linux --arch arm64 --variant v8 - docker manifest push --purge ${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} - echo "Pushed the following PR manifest to Docker Hub:" >> $GITHUB_STEP_SUMMARY - echo "${ENDPOINT}:pull_request_${{ github.event.pull_request.number }}" >> $GITHUB_STEP_SUMMARY + printf "\n## Pushed the following PR images/tags to Docker Hub:\n\n" >> $GITHUB_STEP_SUMMARY + echo "\`${ENDPOINT}:amd64-pull_request_${{ github.event.pull_request.number }}\`" >> $GITHUB_STEP_SUMMARY + echo "\`${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }}\`" >> $GITHUB_STEP_SUMMARY + docker buildx imagetools create -t ${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} ${ENDPOINT}:amd64-pull_request_${{ github.event.pull_request.number }} ${ENDPOINT}:arm64v8-pull_request_${{ github.event.pull_request.number }} + printf "\n## Pushed the following PR manifest to Docker Hub:\n\n" >> $GITHUB_STEP_SUMMARY + echo "\`${ENDPOINT}:pull_request_${{ github.event.pull_request.number }}\`" >> $GITHUB_STEP_SUMMARY else docker push ${ENDPOINT}:pull_request_${{ github.event.pull_request.number }} - echo "Pushed the following PR image/tag to Docker Hub:" >> $GITHUB_STEP_SUMMARY - echo "${ENDPOINT}:pull_request_${{ github.event.pull_request.number }}" >> $GITHUB_STEP_SUMMARY + printf "\n## Pushed the following PR image/tag to Docker Hub:\n\n" >> $GITHUB_STEP_SUMMARY + echo "\`${ENDPOINT}:pull_request_${{ github.event.pull_request.number }}\`" >> $GITHUB_STEP_SUMMARY fi From 58ab98b2b09896d675a9f0b1aaabf656ef546377 Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 11 Sep 2024 17:44:32 +0100 Subject: [PATCH 02/19] Default MOD_VERSION_OVERRIDE to false --- .github/workflows/docker-mod-builder.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-mod-builder.yml b/.github/workflows/docker-mod-builder.yml index 0860714..b0b37be 100644 --- a/.github/workflows/docker-mod-builder.yml +++ b/.github/workflows/docker-mod-builder.yml @@ -21,6 +21,7 @@ on: MOD_VERSION_OVERRIDE: required: false type: string + default: "false" MULTI_ARCH: required: false type: string From ca978a104ed6e6c656822928658eb5382307f7c5 Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 11 Sep 2024 17:52:24 +0100 Subject: [PATCH 03/19] `default` only works with manual runs so use || --- .github/workflows/docker-mod-builder.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-mod-builder.yml b/.github/workflows/docker-mod-builder.yml index b0b37be..0eaa46e 100644 --- a/.github/workflows/docker-mod-builder.yml +++ b/.github/workflows/docker-mod-builder.yml @@ -21,7 +21,6 @@ on: MOD_VERSION_OVERRIDE: required: false type: string - default: "false" MULTI_ARCH: required: false type: string @@ -56,7 +55,7 @@ jobs: echo "BASEIMAGE=${{ inputs.BASEIMAGE }}" >> $GITHUB_ENV echo "MODNAME=${{ inputs.MODNAME }}" >> $GITHUB_ENV echo "MOD_VERSION=${{ inputs.MOD_VERSION }}" >> $GITHUB_ENV - echo "MOD_VERSION_OVERRIDE=${{ inputs.MOD_VERSION_OVERRIDE }}" >> $GITHUB_ENV + echo "MOD_VERSION_OVERRIDE=${{ inputs.MOD_VERSION_OVERRIDE || 'false' }}" >> $GITHUB_ENV echo "MULTI_ARCH=${{ inputs.MULTI_ARCH }}" >> $GITHUB_ENV echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY echo "> GITHUB_REPO=${{ inputs.GITHUB_REPO }}" >> $GITHUB_STEP_SUMMARY @@ -64,7 +63,7 @@ jobs: echo "> BASEIMAGE=${{ inputs.BASEIMAGE }}" >> $GITHUB_STEP_SUMMARY echo "> MODNAME=${{ inputs.MODNAME }}" >> $GITHUB_STEP_SUMMARY echo "> MOD_VERSION=${{ inputs.MOD_VERSION }}" >> $GITHUB_STEP_SUMMARY - echo "> MOD_VERSION_OVERRIDE=${{ inputs.MOD_VERSION_OVERRIDE }}" >> $GITHUB_STEP_SUMMARY + echo "> MOD_VERSION_OVERRIDE=${{ inputs.MOD_VERSION_OVERRIDE || 'false' }}" >> $GITHUB_STEP_SUMMARY echo "> MULTI_ARCH=${{ inputs.MULTI_ARCH }}" >> $GITHUB_STEP_SUMMARY - name: Set up QEMU From d513906a6e429f92c75505a574b12736c0f348da Mon Sep 17 00:00:00 2001 From: thespad Date: Wed, 11 Sep 2024 19:31:30 +0100 Subject: [PATCH 04/19] Default MULTI_ARCH to false if not set --- .github/workflows/docker-mod-builder.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-mod-builder.yml b/.github/workflows/docker-mod-builder.yml index 0eaa46e..5b1710a 100644 --- a/.github/workflows/docker-mod-builder.yml +++ b/.github/workflows/docker-mod-builder.yml @@ -56,7 +56,7 @@ jobs: echo "MODNAME=${{ inputs.MODNAME }}" >> $GITHUB_ENV echo "MOD_VERSION=${{ inputs.MOD_VERSION }}" >> $GITHUB_ENV echo "MOD_VERSION_OVERRIDE=${{ inputs.MOD_VERSION_OVERRIDE || 'false' }}" >> $GITHUB_ENV - echo "MULTI_ARCH=${{ inputs.MULTI_ARCH }}" >> $GITHUB_ENV + echo "MULTI_ARCH=${{ inputs.MULTI_ARCH || 'false' }}" >> $GITHUB_ENV echo "> [!NOTE]" >> $GITHUB_STEP_SUMMARY echo "> GITHUB_REPO=${{ inputs.GITHUB_REPO }}" >> $GITHUB_STEP_SUMMARY echo "> ENDPOINT=${{ inputs.ENDPOINT }}" >> $GITHUB_STEP_SUMMARY @@ -64,7 +64,7 @@ jobs: echo "> MODNAME=${{ inputs.MODNAME }}" >> $GITHUB_STEP_SUMMARY echo "> MOD_VERSION=${{ inputs.MOD_VERSION }}" >> $GITHUB_STEP_SUMMARY echo "> MOD_VERSION_OVERRIDE=${{ inputs.MOD_VERSION_OVERRIDE || 'false' }}" >> $GITHUB_STEP_SUMMARY - echo "> MULTI_ARCH=${{ inputs.MULTI_ARCH }}" >> $GITHUB_STEP_SUMMARY + echo "> MULTI_ARCH=${{ inputs.MULTI_ARCH || 'false' }}" >> $GITHUB_STEP_SUMMARY - name: Set up QEMU uses: docker/setup-qemu-action@v3 From 0a87ee4114cb6f45adac2dc669b484f471b958e5 Mon Sep 17 00:00:00 2001 From: aptalca <541623+aptalca@users.noreply.github.com> Date: Fri, 20 Dec 2024 21:08:18 -0500 Subject: [PATCH 05/19] use PAT for lock-threads --- .github/workflows/issues-cron.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/issues-cron.yml b/.github/workflows/issues-cron.yml index 243b9f5..33c487c 100644 --- a/.github/workflows/issues-cron.yml +++ b/.github/workflows/issues-cron.yml @@ -75,3 +75,4 @@ jobs: include-any-pr-labels: no-pr-activity pr-comment: This pull request is locked due to inactivity exclude-any-pr-labels: awaiting-approval,work-in-progress + github-token: ${{ secrets.CR_PAT }} From a713e609b951c0943e28c9d7e47cf405175f77ea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 01:56:00 +0000 Subject: [PATCH 06/19] Bump actions/stale from 9.0.0 to 9.1.0 Bumps [actions/stale](https://github.com/actions/stale) from 9.0.0 to 9.1.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v9.0.0...v9.1.0) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/issues-cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues-cron.yml b/.github/workflows/issues-cron.yml index 33c487c..b9ac9e9 100644 --- a/.github/workflows/issues-cron.yml +++ b/.github/workflows/issues-cron.yml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/stale@v9.0.0 + - uses: actions/stale@v9.1.0 with: close-issue-label: closed-issue-activity close-pr-label: closed-pr-activity From 3e7d2cd06bcf577c2a5f54ec916ebce3ae5db70c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 13:08:20 +0000 Subject: [PATCH 07/19] Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/docker-mod-builder.yml | 4 ++-- .github/workflows/init-svc-executable-permissions.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-mod-builder.yml b/.github/workflows/docker-mod-builder.yml index 5b1710a..31e66a2 100644 --- a/.github/workflows/docker-mod-builder.yml +++ b/.github/workflows/docker-mod-builder.yml @@ -39,11 +39,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Check Out Repo (Commit) - uses: actions/checkout@v4 + uses: actions/checkout@v5 if: ${{ github.event_name != 'pull_request_target' }} - name: Check Out Repo (PR) - uses: actions/checkout@v4 + uses: actions/checkout@v5 if: ${{ github.event_name == 'pull_request_target' }} with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/init-svc-executable-permissions.yml b/.github/workflows/init-svc-executable-permissions.yml index a4d7f8a..2a3b911 100644 --- a/.github/workflows/init-svc-executable-permissions.yml +++ b/.github/workflows/init-svc-executable-permissions.yml @@ -6,7 +6,7 @@ jobs: permission_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} - name: Check Permissions From a74bd97bfe3ed7dc5284625e426b9a584d5be75f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Sep 2025 01:04:11 +0000 Subject: [PATCH 08/19] Bump actions/stale from 9.1.0 to 10.0.0 Bumps [actions/stale](https://github.com/actions/stale) from 9.1.0 to 10.0.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v9.1.0...v10.0.0) --- updated-dependencies: - dependency-name: actions/stale dependency-version: 10.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/issues-cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues-cron.yml b/.github/workflows/issues-cron.yml index b9ac9e9..e5ab867 100644 --- a/.github/workflows/issues-cron.yml +++ b/.github/workflows/issues-cron.yml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/stale@v9.1.0 + - uses: actions/stale@v10.0.0 with: close-issue-label: closed-issue-activity close-pr-label: closed-pr-activity From 764b2d3a28a23d318167bdecf9bcfb7034774b7c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 3 Oct 2025 01:04:25 +0000 Subject: [PATCH 09/19] Bump peter-evans/create-or-update-comment from 4.0.0 to 5.0.0 Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 4.0.0 to 5.0.0. - [Release notes](https://github.com/peter-evans/create-or-update-comment/releases) - [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v4.0.0...v5.0.0) --- updated-dependencies: - dependency-name: peter-evans/create-or-update-comment dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/docker-mod-builder.yml | 2 +- .github/workflows/invalid-interaction-helper.yml | 2 +- .github/workflows/issue-pr-tracker.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-mod-builder.yml b/.github/workflows/docker-mod-builder.yml index 31e66a2..180c9eb 100644 --- a/.github/workflows/docker-mod-builder.yml +++ b/.github/workflows/docker-mod-builder.yml @@ -181,7 +181,7 @@ jobs: fi - name: Add GHCR push comment to PR - uses: peter-evans/create-or-update-comment@v4.0.0 + uses: peter-evans/create-or-update-comment@v5.0.0 if: ${{ env.GITHUB_REPO == format('{0}/{1}', github.event.pull_request.base.repo.owner.login, github.event.pull_request.base.repo.name) && env.CR_USER && env.CR_PAT }} with: token: ${{ secrets.CR_PAT }} diff --git a/.github/workflows/invalid-interaction-helper.yml b/.github/workflows/invalid-interaction-helper.yml index 0586a71..db80092 100644 --- a/.github/workflows/invalid-interaction-helper.yml +++ b/.github/workflows/invalid-interaction-helper.yml @@ -10,7 +10,7 @@ jobs: issues: write steps: - name: Add comment on invalid - uses: peter-evans/create-or-update-comment@v4.0.0 + uses: peter-evans/create-or-update-comment@v5.0.0 with: issue-number: ${{ github.event.issue.number}} body: | diff --git a/.github/workflows/issue-pr-tracker.yml b/.github/workflows/issue-pr-tracker.yml index b6719b1..204ca3c 100644 --- a/.github/workflows/issue-pr-tracker.yml +++ b/.github/workflows/issue-pr-tracker.yml @@ -101,7 +101,7 @@ jobs: run: | echo 'PR [#${{ github.event.pull_request.number }}](${{ github.event.pull_request.html_url }}) is added to [project](https://github.com/orgs/linuxserver/projects/8) column "PRs Approved"' >> $GITHUB_STEP_SUMMARY - name: Add Comment on Invalid Labeling - uses: peter-evans/create-or-update-comment@v4.0.0 + uses: peter-evans/create-or-update-comment@v5.0.0 if: ${{ github.event_name == 'issues' && github.event.issue.state == 'open' && github.event.label.name == 'invalid' && contains(github.event.issue.labels.*.name, 'invalid') && ! contains(github.event.issue.labels.*.name, 'closed-pr-activity') }} with: issue-number: ${{ github.event.issue.number}} From c3ae52ea078dbb192b62081d89c49997e5c1d043 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Oct 2025 01:03:46 +0000 Subject: [PATCH 10/19] Bump actions/stale from 10.0.0 to 10.1.0 Bumps [actions/stale](https://github.com/actions/stale) from 10.0.0 to 10.1.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v10.0.0...v10.1.0) --- updated-dependencies: - dependency-name: actions/stale dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/issues-cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues-cron.yml b/.github/workflows/issues-cron.yml index e5ab867..403357e 100644 --- a/.github/workflows/issues-cron.yml +++ b/.github/workflows/issues-cron.yml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/stale@v10.0.0 + - uses: actions/stale@v10.1.0 with: close-issue-label: closed-issue-activity close-pr-label: closed-pr-activity From 9a420ddbd3cb57eb625c385a733000b2e720f5fe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Nov 2025 01:03:55 +0000 Subject: [PATCH 11/19] Bump actions/checkout from 5 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/docker-mod-builder.yml | 4 ++-- .github/workflows/init-svc-executable-permissions.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-mod-builder.yml b/.github/workflows/docker-mod-builder.yml index 180c9eb..8089cba 100644 --- a/.github/workflows/docker-mod-builder.yml +++ b/.github/workflows/docker-mod-builder.yml @@ -39,11 +39,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Check Out Repo (Commit) - uses: actions/checkout@v5 + uses: actions/checkout@v6 if: ${{ github.event_name != 'pull_request_target' }} - name: Check Out Repo (PR) - uses: actions/checkout@v5 + uses: actions/checkout@v6 if: ${{ github.event_name == 'pull_request_target' }} with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/init-svc-executable-permissions.yml b/.github/workflows/init-svc-executable-permissions.yml index 2a3b911..6cdd2b4 100644 --- a/.github/workflows/init-svc-executable-permissions.yml +++ b/.github/workflows/init-svc-executable-permissions.yml @@ -6,7 +6,7 @@ jobs: permission_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} - name: Check Permissions From ffaa7cb0713f69ef8f94dc8b779c80d5a4c8b580 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 4 Dec 2025 01:04:06 +0000 Subject: [PATCH 12/19] Bump actions/stale from 10.1.0 to 10.1.1 Bumps [actions/stale](https://github.com/actions/stale) from 10.1.0 to 10.1.1. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v10.1.0...v10.1.1) --- updated-dependencies: - dependency-name: actions/stale dependency-version: 10.1.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/issues-cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues-cron.yml b/.github/workflows/issues-cron.yml index 403357e..fd6b3cf 100644 --- a/.github/workflows/issues-cron.yml +++ b/.github/workflows/issues-cron.yml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/stale@v10.1.0 + - uses: actions/stale@v10.1.1 with: close-issue-label: closed-issue-activity close-pr-label: closed-pr-activity From fa49ddb310060f6f04c907b334febfe2363d0755 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 01:04:20 +0000 Subject: [PATCH 13/19] Bump dessant/lock-threads from 5.0.1 to 6.0.0 Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 5.0.1 to 6.0.0. - [Release notes](https://github.com/dessant/lock-threads/releases) - [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md) - [Commits](https://github.com/dessant/lock-threads/compare/v5.0.1...v6.0.0) --- updated-dependencies: - dependency-name: dessant/lock-threads dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/issues-cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues-cron.yml b/.github/workflows/issues-cron.yml index 403357e..fa90ab1 100644 --- a/.github/workflows/issues-cron.yml +++ b/.github/workflows/issues-cron.yml @@ -65,7 +65,7 @@ jobs: - stale steps: - - uses: dessant/lock-threads@v5.0.1 + - uses: dessant/lock-threads@v6.0.0 with: issue-inactive-days: "30" include-any-issue-labels: no-issue-activity From 20689dbe2033ce4033b216a549fde5956dd3c4c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Feb 2026 01:12:35 +0000 Subject: [PATCH 14/19] Bump actions/stale from 10.1.1 to 10.2.0 Bumps [actions/stale](https://github.com/actions/stale) from 10.1.1 to 10.2.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v10.1.1...v10.2.0) --- updated-dependencies: - dependency-name: actions/stale dependency-version: 10.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/issues-cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues-cron.yml b/.github/workflows/issues-cron.yml index 0d08211..7fcf754 100644 --- a/.github/workflows/issues-cron.yml +++ b/.github/workflows/issues-cron.yml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/stale@v10.1.1 + - uses: actions/stale@v10.2.0 with: close-issue-label: closed-issue-activity close-pr-label: closed-pr-activity From b9147f8b2269e1d4e26bb4260e030b5cae731477 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Mar 2026 01:12:30 +0000 Subject: [PATCH 15/19] Bump docker/setup-qemu-action from 3 to 4 Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 3 to 4. - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/v3...v4) --- updated-dependencies: - dependency-name: docker/setup-qemu-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/docker-mod-builder.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-mod-builder.yml b/.github/workflows/docker-mod-builder.yml index 8089cba..f3d9139 100644 --- a/.github/workflows/docker-mod-builder.yml +++ b/.github/workflows/docker-mod-builder.yml @@ -67,7 +67,7 @@ jobs: echo "> MULTI_ARCH=${{ inputs.MULTI_ARCH || 'false' }}" >> $GITHUB_STEP_SUMMARY - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Build image run: | From 96b71f8b46b4163f51481dd8680fbb88be34dffa Mon Sep 17 00:00:00 2001 From: thespad Date: Fri, 8 May 2026 19:23:57 +0000 Subject: [PATCH 16/19] Disable credential persistence on checkout --- .github/workflows/docker-mod-builder.yml | 3 +++ .github/workflows/init-svc-executable-permissions.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/docker-mod-builder.yml b/.github/workflows/docker-mod-builder.yml index f3d9139..82367fb 100644 --- a/.github/workflows/docker-mod-builder.yml +++ b/.github/workflows/docker-mod-builder.yml @@ -41,12 +41,15 @@ jobs: - name: Check Out Repo (Commit) uses: actions/checkout@v6 if: ${{ github.event_name != 'pull_request_target' }} + with: + persist-credentials: false - name: Check Out Repo (PR) uses: actions/checkout@v6 if: ${{ github.event_name == 'pull_request_target' }} with: ref: ${{ github.event.pull_request.head.sha }} + persist-credentials: false - name: Set Vars run: | diff --git a/.github/workflows/init-svc-executable-permissions.yml b/.github/workflows/init-svc-executable-permissions.yml index 6cdd2b4..ce451dc 100644 --- a/.github/workflows/init-svc-executable-permissions.yml +++ b/.github/workflows/init-svc-executable-permissions.yml @@ -9,6 +9,7 @@ jobs: - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} + persist-credentials: false - name: Check Permissions run: | WRONG_PERM=$(find ./ -path "./.git" -prune -o \( -name "run" -o -name "finish" -o -name "check" \) -not -perm -u=x,g=x,o=x -print) From 6e1a37fbd1f6ca16c8ca442384ff8451857f0df4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 01:13:19 +0000 Subject: [PATCH 17/19] Bump actions/stale from 10.2.0 to 10.3.0 Bumps [actions/stale](https://github.com/actions/stale) from 10.2.0 to 10.3.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v10.2.0...v10.3.0) --- updated-dependencies: - dependency-name: actions/stale dependency-version: 10.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/issues-cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues-cron.yml b/.github/workflows/issues-cron.yml index 7fcf754..2618757 100644 --- a/.github/workflows/issues-cron.yml +++ b/.github/workflows/issues-cron.yml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/stale@v10.2.0 + - uses: actions/stale@v10.3.0 with: close-issue-label: closed-issue-activity close-pr-label: closed-pr-activity From a1a4145e441ebe5b14d8e3592be14a03addc85b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 01:32:57 +0000 Subject: [PATCH 18/19] Bump dessant/lock-threads from 6.0.0 to 6.0.2 Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 6.0.0 to 6.0.2. - [Release notes](https://github.com/dessant/lock-threads/releases) - [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md) - [Commits](https://github.com/dessant/lock-threads/compare/v6.0.0...v6.0.2) --- updated-dependencies: - dependency-name: dessant/lock-threads dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/issues-cron.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issues-cron.yml b/.github/workflows/issues-cron.yml index 7fcf754..4f25cc4 100644 --- a/.github/workflows/issues-cron.yml +++ b/.github/workflows/issues-cron.yml @@ -65,7 +65,7 @@ jobs: - stale steps: - - uses: dessant/lock-threads@v6.0.0 + - uses: dessant/lock-threads@v6.0.2 with: issue-inactive-days: "30" include-any-issue-labels: no-issue-activity From 3d090ede78ccdf79118eeeb7ff486773da07875a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Jun 2026 01:12:22 +0000 Subject: [PATCH 19/19] Bump actions/checkout from 6 to 7 Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/docker-mod-builder.yml | 4 ++-- .github/workflows/init-svc-executable-permissions.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-mod-builder.yml b/.github/workflows/docker-mod-builder.yml index 82367fb..6601656 100644 --- a/.github/workflows/docker-mod-builder.yml +++ b/.github/workflows/docker-mod-builder.yml @@ -39,13 +39,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Check Out Repo (Commit) - uses: actions/checkout@v6 + uses: actions/checkout@v7 if: ${{ github.event_name != 'pull_request_target' }} with: persist-credentials: false - name: Check Out Repo (PR) - uses: actions/checkout@v6 + uses: actions/checkout@v7 if: ${{ github.event_name == 'pull_request_target' }} with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/init-svc-executable-permissions.yml b/.github/workflows/init-svc-executable-permissions.yml index ce451dc..4fe50b9 100644 --- a/.github/workflows/init-svc-executable-permissions.yml +++ b/.github/workflows/init-svc-executable-permissions.yml @@ -6,7 +6,7 @@ jobs: permission_check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: ref: ${{ github.event.pull_request.head.sha }} persist-credentials: false