chore!: update custom network properties key #245
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2024 Defense Unicorns | |
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | |
name: Test | |
on: | |
# This workflow is triggered on pull requests to the main branch. | |
pull_request: | |
# 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, reopened, synchronize] | |
paths-ignore: | |
- "**.md" | |
- "**.jpg" | |
- "**.png" | |
- "**.gif" | |
- "**.svg" | |
- adr/** | |
- docs/** | |
- .gitignore | |
- renovate.json | |
- .release-please-config.json | |
- release-please-config.json | |
- CODEOWNERS | |
- LICENSE | |
- CONTRIBUTING.md | |
- SECURITY.md | |
# Permissions for the GITHUB_TOKEN used by the workflow. | |
permissions: | |
contents: read # Allows reading the content of the repository. | |
packages: read # Allows reading the content of the repository's packages. | |
id-token: write | |
# Abort prior jobs in the same workflow / PR | |
concurrency: | |
group: test-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check-flavor: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: test-flavor | |
uses: defenseunicorns/uds-common/.github/actions/test-flavor@164ce64c5cc775193a563db7e8ef9750ffefcdda # v1.3.0 | |
id: test-flavor | |
with: | |
check-flavor-zarf-yaml: src/ctlog/zarf.yaml | |
outputs: | |
upgrade-flavors: ${{ steps.test-flavor.outputs.upgrade-flavors }} | |
validate: | |
needs: check-flavor | |
strategy: | |
fail-fast: true | |
matrix: | |
type: [install, upgrade] | |
flavor: [upstream, unicorn] | |
uses: defenseunicorns/uds-common/.github/workflows/callable-test.yaml@164ce64c5cc775193a563db7e8ef9750ffefcdda # v1.3.0 | |
with: | |
upgrade-flavors: ${{ needs.check-flavor.outputs.upgrade-flavors }} | |
flavor: ${{ matrix.flavor }} | |
type: ${{ matrix.type }} | |
secrets: inherit # Inherits all secrets from the parent workflow. |