summaryrefslogtreecommitdiff
path: root/.github/workflows/tarball-test.yml
AgeCommit message (Collapse)Author
40 hoursSet the upstream to the base branch instead of `master`Nobuyoshi Nakada
40 hoursFetch the base branch onlyNobuyoshi Nakada
`fetch-depth: 0` means fetching all heads and tags.
4 daysSkip tarball tests on documents-only commitsNobuyoshi Nakada
Except for non-development that runs build only.
6 daysGuard inputs.notify-release-channel behind workflow_dispatch checkHiroshi SHIBATA
The inputs context is only populated for workflow_dispatch and workflow_call, so referencing it on push, pull_request, or merge_group relies on undefined behaviour. Short-circuit on github.event_name so non-dispatch runs always pass false to the reusables.
6 daysRoute tarball-test failure notifications to two Slack channelsHiroshi SHIBATA
SIMPLER_ALERTS_URL always fires on failure so developer-facing CI (PR, push, merge_group, manual dispatch) surfaces breakage in the ruby-core channel. notify-release-channel additionally routes to SNAPSHOT_SLACK_WEBHOOK_URL for the daily snapshot dispatcher and future draft-release callers, with the same payload schema as before except commit now comes from github.sha.
6 daysDrop remove-gnupg from tarball-ubuntuHiroshi SHIBATA
The step force-removed $HOME/.gnupg between Tests and Diff stats of HOME, but the original cause for the directory persisting was never identified. Remove it and observe whether the HOME diff still passes.
6 daysDrop allow-failures input from tarball-* reusablesHiroshi SHIBATA
power_assert was allowed to fail on master/4_0 by passing it through this input. The allow-list belongs in tool/test-bundled-gems.rb now that the tool ships in the same repo as the workflow.
7 daysInline tarball-windows modern matrix and drop the legacy modeHiroshi SHIBATA
The legacy mode (vs2022 + vcvars 14.2) is no longer exercised, so collapse the conditional matrix into the modern 2022 / 2025-vs2026 pair and remove the now-dead setup-env (legacy) step.
7 daysDispatch tarball-test daily across master and maintenance branchesHiroshi SHIBATA
GitHub Actions schedule triggers only fire from the default branch, so the daily run defined in tarball-test.yml never executed on ruby_3_3, ruby_3_4, or ruby_4_0. Move the cron into a new dispatcher workflow that calls workflow_dispatch on each branch via a PAT.
7 daysDerive archname and branch-label from a single env.BRANCHHiroshi SHIBATA
Cherry-picking tarball-test.yml to maintenance branches previously required editing six places (four archname literals, branch-label, and the Materialize step). Route everything through env.BRANCH on the tarball job and expose it via outputs so downstream reusable workflow calls reference needs.tarball.outputs.branch. Maintenance branches now flip one line. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7 daysPromote archname to an explicit composite inputHiroshi SHIBATA
The composite action previously read $archname from the caller's job env, leaving the dependency implicit. Declare archname as a required input and pass it via with: so the action is self-contained and the linkage is visible at the call site. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7 daysRun tarball-test on a daily schedule and gate Slack on itHiroshi SHIBATA
Add a daily 18:30 UTC schedule trigger to match the existing ruby/actions snapshot cron, and limit the Slack failure notifications in the reusable workflows to schedule runs. PRs and merge_group runs are still gated by the workflow's CI status, but won't spam the Snapshot/SimplerAlerts channels or fail on missing webhook secrets in forks. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7 daysMaterialize local master branch before make-snapshotHiroshi SHIBATA
tool/make-snapshot reads HEAD via tool/lib/vcs.rb#_get_revisions and, on detached checkouts (pull_request, merge_group), parses "(HEAD detached at <ref>)" into branch name "pull/N/merge" which then breaks `git clone -b` in the export step. It also calls #upstream during ChangeLog generation, which requires the branch to track a remote. Fetch origin/master, force a local master at HEAD, and link its upstream so both lookups land on a real branch. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7 daysAdd tarball-test workflow for snapshot tarball CIHiroshi SHIBATA
Port the daily snapshot tarball pipeline from ruby/actions into ruby/ruby so the tarball build and per-OS tests run on every push and pull request. The make-snapshot composite action gains a srcdir input so the same logic can either clone ruby/ruby (daily upload from ruby/actions) or operate on the working tree (this workflow). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>