mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-04-24 19:32:48 +00:00
33 lines
976 B
YAML
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'
|