Skip to content

Commit 5866284

Browse files
committed
Remove the reference of erb from the workflow
so that this can be copied to other repositories as is
1 parent ddfc1ba commit 5866284

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/sync-ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
sync:
77
name: Sync ruby
88
runs-on: ubuntu-latest
9-
if: ${{ github.repository == 'ruby/erb' }}
9+
if: ${{ github.repository_owner == 'ruby' }}
1010
steps:
1111
- uses: actions/checkout@v5
1212

@@ -28,6 +28,6 @@ jobs:
2828
github_token: ${{ steps.app-token.outputs.token }}
2929
ref: master
3030
client_payload: |
31-
{"gem":"erb","before":"${{ github.event.before }}","after":"${{ github.event.after }}"}
31+
{"gem":"${{ github.event.repository.name }}","before":"${{ github.event.before }}","after":"${{ github.event.after }}"}
3232
propagate_failure: true
3333
wait_interval: 10

0 commit comments

Comments
 (0)