Skip to content

Update rexml to 3.4.4 for Ruby 3.4 (CVE-2025-58767) (#14795) #1

Update rexml to 3.4.4 for Ruby 3.4 (CVE-2025-58767) (#14795)

Update rexml to 3.4.4 for Ruby 3.4 (CVE-2025-58767) (#14795) #1

Workflow file for this run

name: Post-push
on:
push:
branches:
- master
- 'ruby_*_*'
jobs:
hooks:
name: Post-push hooks
runs-on: ubuntu-latest
if: ${{ github.repository == 'ruby/ruby' }}
steps:
- name: Sync git.ruby-lang.org
run: |
mkdir -p ~/.ssh
echo "$RUBY_GIT_SYNC_PRIVATE_KEY" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -t ed25519 git.ruby-lang.org >> ~/.ssh/known_hosts
ssh -i ~/.ssh/id_ed25519 [email protected] "sudo -u git /home/git/git.ruby-lang.org/bin/update-ruby.sh $GITHUB_REF"
env:
GITHUB_REF: ${{ github.ref }}
RUBY_GIT_SYNC_PRIVATE_KEY: ${{ secrets.RUBY_GIT_SYNC_PRIVATE_KEY }}
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/ruby_') }}
- name: Fetch changesets on bugs.ruby-lang.org
run: |
curl "https://bugs.ruby-lang.org/sys/fetch_changesets?key=${REDMINE_SYS_API_KEY}" -s --fail-with-body -w '* status: %{http_code}\n'
env:
REDMINE_SYS_API_KEY: ${{ secrets.REDMINE_SYS_API_KEY }}
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:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
if: ${{ failure() }}