From cd2faf41919c11c7a557de2ddeb237fd65d72dc1 Mon Sep 17 00:00:00 2001 From: Kelli Fogle Date: Fri, 1 Nov 2024 09:30:04 -0500 Subject: [PATCH] add back in lint.yaml --- .github/workflows/lint.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..c56d6b0 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,16 @@ +# Copyright 2024 Defense Unicorns +# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial + +name: Lint + +on: + # This workflow is triggered on pull requests to the main branch. + pull_request: + branches: [main] + # milestoned is added here as a workaround for release-please not triggering PR workflows (PRs should be added to a milestone to trigger the workflow). + types: [milestoned, opened, edited, synchronize] + +jobs: + run: + uses: defenseunicorns/uds-common/.github/workflows/callable-lint.yaml@2a5e66fceb5c506008d5f69f42abcf38ccf86b44 # v1.2.0 + secrets: inherit