diff --git a/.github/workflows/auto-update.yaml b/.github/workflows/auto-update.yaml new file mode 100644 index 0000000..c6309a7 --- /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: defenseunicorns/uds-common/.github/workflows/callable-auto-update.yaml@434bbc29e91b597672ba64d2e7569eac15dc8422 # v1.21.1 + secrets: inherit # Inherits all secrets from the parent workflow.