Skip to content

add ability to pass base-branch from calling workflows #1

add ability to pass base-branch from calling workflows

add ability to pass base-branch from calling workflows #1

name: SOUP - Generate all Missing

Check failure on line 1 in .github/workflows/soup-generate-all-missing.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/soup-generate-all-missing.yml

Invalid workflow file

(Line: 7, Col: 3): Unexpected value 'base-branch'
env:
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
on:
workflow_call:
base-branch:
description: 'The base branch to compare against (e.g., main)'
required: false
default: 'main'
jobs:
generate-missing:
runs-on: [self-hosted, Linux]
steps:
- uses: QuickBirdEng/actions/checkout-ssh@main
with:
ssh-private-key: ${{ secrets.CI_SSH_PRIVATE_KEY_FOR_GITHUB_PRIVATE_REPOS }}
- shell: bash
run: git clean -ffdx
- name: Generate All Missing SOUPs
uses: QuickBirdEng/actions/soup-generate-all-missing@main
with:
repository: ${{ github.event.repository.name }}
gh-api-token: ${{ env.GH_API_TOKEN }}
soup-approvers: ${{ vars.SOUP_APPROVERS }}
base-branch: ${{ inputs.base-branch }}