diff --git a/.github/workflows/caller-1.yml b/.github/workflows/caller-1.yml new file mode 100644 index 000000000..1db8c6252 --- /dev/null +++ b/.github/workflows/caller-1.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/reusable-1.yml b/.github/workflows/reusable-1.yml new file mode 100644 index 000000000..d326cb103 --- /dev/null +++ b/.github/workflows/reusable-1.yml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/reusable-2.yml b/.github/workflows/reusable-2.yml new file mode 100644 index 000000000..4287ca861 --- /dev/null +++ b/.github/workflows/reusable-2.yml @@ -0,0 +1 @@ +# \ No newline at end of file