diff --git a/.github/workflows/sync-main-to-edge.yaml b/.github/workflows/sync-main-to-edge.yaml new file mode 100644 index 000000000..8e4c923c2 --- /dev/null +++ b/.github/workflows/sync-main-to-edge.yaml @@ -0,0 +1,24 @@ +# This file is managed by nsheaps/.github (sync-files). +# Source: https://github.com/nsheaps/.github/blob/main/ansible/templates/.github/workflows/sync-main-to-edge.yaml +# Edit-in-place will be overwritten on the next sync. +name: Sync main to edge + +on: + push: + branches: [main] + workflow_dispatch: + inputs: + test_mode: + description: 'Run in test mode (no push)' + type: boolean + default: false + +permissions: + contents: write + +jobs: + sync: + name: Sync main -> */edge + uses: nsheaps/github-actions/.github/workflows/sync-main-to-edge.yaml@main + with: + test_mode: ${{ inputs.test_mode == true }} diff --git a/.gitupstream b/.gitupstream new file mode 100644 index 000000000..4ef9d7a6b --- /dev/null +++ b/.gitupstream @@ -0,0 +1,7 @@ +# Configures sync-main-to-edge workflow. Schema: +# https://github.com/nsheaps/github-actions/blob/main/.github/workflows/sync-main-to-edge.yaml +version: 1 +sync: + - upstream: main + targets: + - alex/edge