Skip to content

Commit c39e68d

Browse files
committed
Trigger existing workflow
1 parent 1b7a9fb commit c39e68d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/dispatch-roadmap-update.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ jobs:
1515
steps:
1616
- name: Trigger Roadmap Update workflow
1717
run: |
18-
curl -X POST \
18+
curl -L \
19+
-X POST \
1920
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
2021
-H "Accept: application/vnd.github+json" \
21-
https://api.github.com/repos/${{ github.repository }}/actions/workflows/roadmap-update.yml/dispatches \
22+
https://api.github.com/repos/${{ github.repository }}/actions/workflows/update-roadmap-project-dates.yml/dispatches \
2223
-d '{"ref": "${{ github.base_ref }}"}'

.github/workflows/update-roadmap-project-dates.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Update Roadmap Dates
22

33
on:
4-
pull_request:
5-
types: [labeled]
4+
workflow_run:
5+
workflows: ["Dispatch Roadmap Update"]
6+
types:
7+
- completed
68

79
jobs:
810
update-roadmap-dates:

0 commit comments

Comments
 (0)