File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Sync ruby/ruby
2+ on :
3+ push :
4+ branches : [master]
5+ jobs :
6+ sync :
7+ name : Sync ruby/ruby
8+ runs-on : ubuntu-latest
9+ if : ${{ github.repository == 'ruby/erb' }}
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+
20+ - name : Sync to ruby/ruby
21+ uses : convictional/trigger-workflow-and-wait@v1.6.5
22+ with :
23+ owner : ruby
24+ repo : ruby
25+ workflow_file_name : sync_default_gems.yml
26+ github_token : ${{ steps.app-token.outputs.token }}
27+ ref : master
28+ client_payload : |
29+ {"gem":"erb","before":"${{ github.event.before }}","after":"${{ github.event.after }}"}
30+ propagate_failure : true
31+ wait_interval : 10
You can’t perform that action at this time.
0 commit comments