File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Sync ruby
2+ on :
3+ push :
4+ branches : [master]
5+ jobs :
6+ sync :
7+ name : Sync ruby
8+ runs-on : ubuntu-latest
9+ if : ${{ github.repository_owner == 'ruby' }}
10+ steps :
11+ - uses : actions/checkout@v5
12+
13+ - name : Create GitHub App token
14+ id : app-token
15+ uses : actions/create-github-app-token@v2
16+ with :
17+ app-id : 2060836
18+ private-key : ${{ secrets.RUBY_SYNC_DEFAULT_GEMS_PRIVATE_KEY }}
19+ owner : ruby
20+ repositories : ruby
21+
22+ - name : Sync to ruby/ruby
23+ uses : convictional/trigger-workflow-and-wait@v1.6.5
24+ with :
25+ owner : ruby
26+ repo : ruby
27+ workflow_file_name : sync_default_gems.yml
28+ github_token : ${{ steps.app-token.outputs.token }}
29+ ref : master
30+ client_payload : |
31+ {"gem":"${{ github.event.repository.name }}","before":"${{ github.event.before }}","after":"${{ github.event.after }}"}
32+ propagate_failure : true
33+ wait_interval : 10
You can’t perform that action at this time.
0 commit comments