From a1596bdbf20ec3770dc2c6c0501a8626809ff3bd Mon Sep 17 00:00:00 2001 From: codyshoffner Date: Wed, 29 Oct 2025 15:35:47 -0500 Subject: [PATCH 1/2] ci: add republish workflow --- .github/workflows/auto-update.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/auto-update.yaml diff --git a/.github/workflows/auto-update.yaml b/.github/workflows/auto-update.yaml new file mode 100644 index 0000000..c183d70 --- /dev/null +++ b/.github/workflows/auto-update.yaml @@ -0,0 +1,23 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + +name: Auto Update + +on: + schedule: + - cron: 0 14 * * * # daily at 8 AM Central (CST = UTC−6) + +# Permissions for the GITHUB_TOKEN used by the workflow. +permissions: + contents: write # Allows writing content to the repository. + packages: read # Allows reading the content of the repository's packages. + +# Abort prior jobs in the same workflow / PR +concurrency: + group: auto-update-${{ github.ref }} + cancel-in-progress: true + +jobs: + auto-update: + uses: ./.github/workflows/callable-auto-update.yaml + secrets: inherit # Inherits all secrets from the parent workflow. From 6360a70135b591242a8b85d12f64bd105c2252d7 Mon Sep 17 00:00:00 2001 From: codyshoffner Date: Thu, 30 Oct 2025 15:14:21 -0500 Subject: [PATCH 2/2] ci: fix republish workflow path --- .github/workflows/auto-update.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-update.yaml b/.github/workflows/auto-update.yaml index c183d70..c6309a7 100644 --- a/.github/workflows/auto-update.yaml +++ b/.github/workflows/auto-update.yaml @@ -19,5 +19,5 @@ concurrency: jobs: auto-update: - uses: ./.github/workflows/callable-auto-update.yaml + uses: defenseunicorns/uds-common/.github/workflows/callable-auto-update.yaml@434bbc29e91b597672ba64d2e7569eac15dc8422 # v1.21.1 secrets: inherit # Inherits all secrets from the parent workflow.