mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-04-24 19:32:48 +00:00
adding test workflows for reusable workflow
This commit is contained in:
parent
47630fc538
commit
21b2b860ae
3 changed files with 30 additions and 0 deletions
8
.github/workflows/caller-1.yml
vendored
Normal file
8
.github/workflows/caller-1.yml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
name: Successfull merge pipeline
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
jobs:
|
||||
call-reusable-workflow-1-in-local-repo:
|
||||
uses: ./.github/workflows/reusable-1.yml
|
21
.github/workflows/reusable-1.yml
vendored
Normal file
21
.github/workflows/reusable-1.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Reusable workflow example
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
config-path:
|
||||
required: true
|
||||
type: string
|
||||
description: "A taki o description"
|
||||
secrets:
|
||||
token:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.token }}
|
||||
configuration-path: ${{ inputs.config-path }}
|
1
.github/workflows/reusable-2.yml
vendored
Normal file
1
.github/workflows/reusable-2.yml
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
#
|
Loading…
Reference in a new issue