spring-petclinic/.github/workflows/caller-1.yml
2025-04-11 09:41:13 +02:00

33 lines
976 B
YAML

name: Caller-1
on:
workflow_dispatch:
push:
jobs:
call-reusable-workflow-1-in-local-repo:
uses: ./.github/workflows/reusable-1.yml
with:
config-path: '.github/labeler.yml' # Provide the required input
secrets:
token: ${{ secrets.GITHUB_TOKEN }} # Provide the required secret
second-caller:
uses: Piasecki-grid/test-workflows/.github/workflows/reusable-2.yml@main
with:
config-path: '.github/labeler.yml' # Provide the required input
secrets:
token: ${{ secrets.GITHUB_TOKEN }} # Provide the required secret
run-composite-action:
runs-on: ubuntu-latest
needs: second-caller # Optional: make it run after the reusable workflow
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Composite Action
uses: Piasecki-grid/composite-action-repo/actions/my-composite-action@main
with:
greeting: 'Hi there'
name: 'GitHub Actions User'