Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/cpp-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- "*akefile*"
branches:
- main
- ruby-4.0
pull_request:

jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cruby-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
branches:
- main
pull_request:
branches:
- main

jobs:
test-all:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
push:
branches:
- main
- ruby-4.0
pull_request:

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/java-wasm-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- "*akefile*"
branches:
- main
- ruby-4.0
pull_request:

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/javascript-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- "*akefile*"
branches:
- main
- ruby-4.0
pull_request:

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
push:
branches:
- main
- ruby-4.0
pull_request:

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rust-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- "*akefile*"
branches:
- main
- ruby-4.0
pull_request:

env:
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/sync-ruby.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Sync ruby
on:
push:
branches: [main]
branches:
- main
- ruby-4.0
jobs:
sync:
name: Sync ruby
Expand All @@ -10,6 +12,14 @@ jobs:
steps:
- uses: actions/checkout@v6

- name: Set ruby/ruby target branch
id: target
run: |
case "$GITHUB_REF_NAME" in
main) echo "ref=master" >> "$GITHUB_OUTPUT" ;;
ruby-4.0) echo "ref=ruby_4_0" >> "$GITHUB_OUTPUT" ;;
esac

- name: Create GitHub App token
id: app-token
uses: actions/create-github-app-token@v3
Expand All @@ -26,7 +36,7 @@ jobs:
repo: ruby
workflow_file_name: sync_default_gems.yml
github_token: ${{ steps.app-token.outputs.token }}
ref: master
ref: ${{ steps.target.outputs.ref }}
client_payload: |
{"gem":"${{ github.event.repository.name }}","before":"${{ github.event.before }}","after":"${{ github.event.after }}"}
propagate_failure: true
Expand Down