From 599c3a8c17fe923771432605154edd13fcdaadc7 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Tue, 24 Nov 2026 13:25:31 -0500 Subject: [PATCH 1/2] Part nasa/cFS#1205, add snapshot workflow Local wrapper to call the reusable snapshot workflow --- .github/workflows/snapshot-module.yml | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/snapshot-module.yml diff --git a/.github/workflows/snapshot-module.yml b/.github/workflows/snapshot-module.yml new file mode 100644 index 0000000..64d56b8 --- /dev/null +++ b/.github/workflows/snapshot-module.yml @@ -0,0 +1,35 @@ +name: Snapshot CFS module + +on: + workflow_dispatch: + inputs: + base-branch: + description: 'The base branch to merge into' + type: string + required: false + default: 'main' + ic-branch: + description: 'The temporary integration branch to create (ic)' + type: string + required: false + default: 'ic-snapshot-dev' + dev-branch: + description: 'The branch to pull in' + type: string + required: false + default: 'dev' + pr-label: + description: 'The label(s) to apply to the generated PR' + type: string + required: false + default: '' + +jobs: + snapshot-module: + name: Snapshot module + uses: nasa/cFS/.github/workflows/snapshot-module-reusable.yml@dev + with: + base-branch: ${{ inputs.base-branch }} + ic-branch: ${{ inputs.ic-branch }} + dev-branch: ${{ inputs.dev-branch }} + pr-label: ${{ inputs.pr-label }} From 3ffc7a4be5e78e1ad0fe6e58d9b6c187cb93e11f Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Mon, 30 Nov 2026 13:24:33 -0500 Subject: [PATCH 2/2] Part nasa/cFS#1205, add version update to snapshot Enhances the snapshot workflow with a version number update --- .github/workflows/snapshot-module.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/snapshot-module.yml b/.github/workflows/snapshot-module.yml index 64d56b8..260a7f8 100644 --- a/.github/workflows/snapshot-module.yml +++ b/.github/workflows/snapshot-module.yml @@ -23,6 +23,11 @@ on: type: string required: false default: '' + version-numbers: + description: 'The pending version/tag info, as a JSON object' + type: string + required: false + default: '{}' jobs: snapshot-module: @@ -33,3 +38,4 @@ jobs: ic-branch: ${{ inputs.ic-branch }} dev-branch: ${{ inputs.dev-branch }} pr-label: ${{ inputs.pr-label }} + version-numbers: ${{ inputs.version-numbers }}