We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b5cd9c commit 8edc0baCopy full SHA for 8edc0ba
.github/workflows/publish.yml
@@ -43,3 +43,18 @@ jobs:
43
title: ${{ env.VERSION }}
44
env:
45
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46
+
47
+ - name: Trigger Workflow in future secret project :O
48
+ run: |
49
+ # Set the required variables
50
+ repo_name=${{ secrets.TARGET_REPO }}
51
+ event_type="publish"
52
+ kpaper_version=${{ env.VERSION }}
53
54
+ curl -L \
55
+ -X POST \
56
+ -H "Accept: application/vnd.github+json" \
57
+ -H "Authorization: Bearer ${{ secrets.PAT }}" \
58
+ -H "X-GitHub-Api-Version: 2022-11-28" \
59
+ https://api.github.com/repos/ModLabsCC/$repo_name/actions/workflows/publish/dispatches \
60
+ -d "{\"ref\": \"main\", \"inputs\": {\"kpaper_version\": \"$kpaper_version\"}}"
0 commit comments