Skip to content

Commit a0e7341

Browse files
committed
post_push.yml: Migrate fetch_changesets
from post-receive.sh
1 parent ac01ac1 commit a0e7341

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/post_push.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
RUBY_GIT_SYNC_PRIVATE_KEY: ${{ secrets.RUBY_GIT_SYNC_PRIVATE_KEY }}
2323
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/ruby_') }}
2424

25+
- name: Fetch changesets on bugs.ruby-lang.org
26+
run: curl "https://bugs.ruby-lang.org/sys/fetch_changesets?key=${REDMINE_SYS_API_KEY}" --fail-with-body -w '* status: %{http_code}\n'
27+
env:
28+
REDMINE_SYS_API_KEY: ${{ secrets.REDMINE_SYS_API_KEY }}
29+
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/ruby_') }}
30+
2531
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2632
with:
2733
fetch-depth: 500 # for notify-slack-commits

0 commit comments

Comments
 (0)