adding test workflows for reusable workflow

This commit is contained in:
Piasecki-grid 2025-04-11 08:55:23 +02:00
parent 47630fc538
commit 21b2b860ae
3 changed files with 30 additions and 0 deletions

8
.github/workflows/caller-1.yml vendored Normal file
View 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
View 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
View file

@ -0,0 +1 @@
#