We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b896b2 commit 573018fCopy full SHA for 573018f
1 file changed
.github/workflows/dispatch_sync_ci.yaml
@@ -0,0 +1,26 @@
1
+name: "[Dispatch] Sync CI"
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+env:
7
+ REPO: cloudforet-io/actions
8
+ WORKFLOW_NAME: dispatch_apply_workflows.yaml
9
10
+jobs:
11
+ owner_check:
12
+ if: github.repository_owner == 'cloudforet-io'
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - run: echo ${{ github.repository_owner }}
16
+ pull_workflows:
17
18
+ needs: owner_check
19
20
+ - name: request workflows
21
+ uses: benc-uk/workflow-dispatch@v1
22
+ with:
23
+ token: ${{ secrets.PAT_TOKEN }}
24
+ repo: ${{ env.REPO }}
25
+ workflow: ${{ env.WORKFLOW_NAME }}
26
+ inputs: '{"dest" : "${{ github.event.repository.name }}"}'
0 commit comments