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
post_push.yml: Backport commit-mail to ruby_3_3
  • Loading branch information
k0kubun committed Oct 8, 2025
commit c78e282a40122e2504b80ddd3bef5caa515c9402
15 changes: 15 additions & 0 deletions .github/workflows/post_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/ruby_') }}

- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 500

- name: Notify commit to ruby-cvs
run: |
SENDMAIL="ssh -i ${HOME}/.ssh/id_ed25519 [email protected] /usr/sbin/sendmail" \
ruby tool/commit-mail.rb . [email protected] \
"$GITHUB_OLD_SHA" "$GITHUB_NEW_SHA" "$GITHUB_REF" \
--viewer-uri "https://github.com/ruby/ruby/commit/" \
--error-to [email protected]
env:
GITHUB_OLD_SHA: ${{ github.event.before }}
GITHUB_NEW_SHA: ${{ github.event.after }}
GITHUB_REF: ${{ github.ref }}
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/ruby_') }}

- uses: ./.github/actions/slack
with:
Expand Down
Loading