Skip to content

Commit 24c3e6b

Browse files
committed
feat: dispatch wf1a
1 parent 0609ea8 commit 24c3e6b

File tree

2 files changed

+34
-5
lines changed

2 files changed

+34
-5
lines changed

.github/workflows/cl.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
name: Changelog Pipeline
33

44
on:
5-
push:
6-
branches: ["develop"]
7-
pull_request:
8-
branches: ["develop"]
9-
105
workflow_dispatch:
6+
workflow_call:
117

128
jobs:
139
update-changelog2:

.github/workflows/triggers_cl.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Trigger Changelog Pipeline
2+
3+
on:
4+
push:
5+
branches: ["develop"]
6+
pull_request:
7+
branches: ["develop"]
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
trigger-changelog-pipeline:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
20+
- name: Print head commit
21+
id: print_head_commit
22+
run: |
23+
echo "Head commit: ${{ github.sha }}"
24+
25+
actual-trigger-changelog-pipeline:
26+
runs-on: ubuntu-latest
27+
permissions:
28+
contents: write
29+
steps:
30+
- name: Trigger Changelog Pipeline
31+
id: trigger-changelog-pipeline
32+
uses: dfm88/fastapi-two-factor-authentication/.github/workflows/cl.yaml@develop
33+

0 commit comments

Comments
 (0)