File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Notify Labs of OSS changes
2+
3+ on :
4+ push :
5+ branches :
6+ - nick/sync
7+
8+ permissions :
9+ contents : read
10+
11+ concurrency :
12+ group : superdoc-oss-sync-dispatch
13+ cancel-in-progress : false
14+
15+ jobs :
16+ dispatch :
17+ name : Dispatch to Labs
18+ runs-on : ubuntu-latest
19+ timeout-minutes : 5
20+ steps :
21+ - name : Create Labs App token
22+ id : labs-token
23+ uses : actions/create-github-app-token@v2
24+ with :
25+ app-id : ${{ secrets.APP_ID }}
26+ private-key : ${{ secrets.APP_PRIVATE_KEY }}
27+ owner : superdoc-dev
28+ repositories : labs
29+
30+ - name : Dispatch superdoc-oss-sync to Labs
31+ env :
32+ GH_TOKEN : ${{ steps.labs-token.outputs.token }}
33+ run : |
34+ gh api repos/superdoc-dev/labs/dispatches \
35+ -f event_type=superdoc-oss-sync \
36+ -F client_payload[sha]='${{ github.sha }}' \
37+ -F client_payload[ref]='${{ github.ref_name }}'
You can’t perform that action at this time.
0 commit comments