summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2023-03-29gem related automation must run only on masterNARUSE, Yui
2023-03-28Use merge_groupNARUSE, Yui
2023-01-31Remove "Miscellaneous checks" from CINARUSE, Yui
It is expected to use on master branch
2022-12-24MJIT: Cancel all on disastrous situations (#7019)Takashi Kokubun
I noticed this while running test_yjit with --mjit-call-threshold=1, which redefines `Integer#<`. When Ruby is monkey-patched, MJIT itself could be broken. Similarly, Ruby scripts could break MJIT in many different ways. I prepared the same set of hooks as YJIT so that we could possibly override it and disable it on those moments. Every constant under RubyVM::MJIT is private and thus it's an unsupported behavior though. Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-12-23test-syntax-suggest is run by check nowNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7010
2022-12-23Bump actions/checkout from 3.1.0 to 3.2.0dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8...755da8c3cf115ac066823e79a1e1788f8940201b) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/7003
2022-12-23Bump actions/cache from 3.0.11 to 3.2.0dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 3.2.0. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7...c17f4bf4666a8001b1a45c09eb7a485c41aa64c3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/7000
2022-12-23Bump octokit/request-actiondependabot[bot]
Bumps [octokit/request-action](https://github.com/octokit/request-action) from 52ce92ce3185e00e2425f043c3e9509121929aea to 8cd8f5d6738d122de9213dc5cf87e116c40f5fae. - [Release notes](https://github.com/octokit/request-action/releases) - [Commits](https://github.com/octokit/request-action/compare/52ce92ce3185e00e2425f043c3e9509121929aea...8cd8f5d6738d122de9213dc5cf87e116c40f5fae) --- updated-dependencies: - dependency-name: octokit/request-action dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/6997
2022-12-23Bump github/codeql-action from 2.1.35 to 2.1.37dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.35 to 2.1.37. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/b2a92eb56d8cb930006a1c6ed86b0782dd8a4297...959cbb7472c4d4ad70cdfe6f4976053fe48ab394) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/7001
2022-12-23Bump ruby/setup-ruby from 1.126.0 to 1.128.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.126.0 to 1.128.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/c7079efafd956afb5d823e8999c2506e1053aefa...4b2d1d631efa087f8896c15a0c6023dc2f483198) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/6999
2022-12-22Check `added` for the second sub! properlyTakashi Kokubun
Even if the first sub! modifies `news`, when `added` is empty, it always ended up skipping `File.write("NEWS.md", news)` because of the `next`. This commit fixes the problem.
2022-12-23Bump ossf/scorecard-action from 2.0.6 to 2.1.2dependabot[bot]
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.6 to 2.1.2. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/99c53751e09b9529366343771cc321ec74e9bd3d...e38b1902ae4f44df626f11ba0734b14fb91f8f86) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/6998
2022-12-22Bump necojackarc/auto-request-review from 0.8.0 to 0.10.0 (#7002)dependabot[bot]
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review) from 0.8.0 to 0.10.0. - [Release notes](https://github.com/necojackarc/auto-request-review/releases) - [Commits](https://github.com/necojackarc/auto-request-review/compare/b5e81876454003a4ccb9b89cb205c67d77d7035b...5f91f424cabb3211c669e49e79da8363f7df395b) --- updated-dependencies: - dependency-name: necojackarc/auto-request-review dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-12-20Ignore man directories entirely [ci skip]Nobuyoshi Nakada
2022-12-15Fix missing variablesTakashi Kokubun
It was a bad copy-paste.
2022-12-15Enable Slack notifications on more ActionsTakashi Kokubun
auto_request_review, codeql-analysis, scorecards don't have it either, but those are intentional.
2022-12-08YJIT: Fold check-yjit-bindings into yjit-bindgenAlan Wu
So it's shorter on CI and the hint about how the fix the failure shows up. It's going to print a diff locally too, but that should be fine. Notes: Merged: https://github.com/ruby/ruby/pull/6883
2022-12-08YJIT: Add a hint for fixing "check-yjit-bindings"Alan Wu
This makes it clear what to do when the CI check fails and should remove a few minutes of confusion for people seeing this for the first time. Notes: Merged: https://github.com/ruby/ruby/pull/6883
2022-12-07NEWS.md: Remove white space only lines [ci skip]Nobuyoshi Nakada
2022-12-06Bump octokit/request-actiondependabot[bot]
Bumps [octokit/request-action](https://github.com/octokit/request-action) from 4579f9e1e690974421f9f6928a30fb448e967c60 to 52ce92ce3185e00e2425f043c3e9509121929aea. - [Release notes](https://github.com/octokit/request-action/releases) - [Commits](https://github.com/octokit/request-action/compare/4579f9e1e690974421f9f6928a30fb448e967c60...52ce92ce3185e00e2425f043c3e9509121929aea) --- updated-dependencies: - dependency-name: octokit/request-action dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/6861
2022-12-05Skip auto-request-review on fork repositoriesTakashi Kokubun
2022-12-04Change the dependabot interval to monthlyTakashi Kokubun
It's not that important for ruby/ruby to keep them up to date.
2022-12-05Bump ruby/setup-ruby from 1.125.0 to 1.126.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.125.0 to 1.126.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/de6f5b9c340068d049670c6b6ae8dc94cff4667a...c7079efafd956afb5d823e8999c2506e1053aefa) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/6859
2022-12-05Bump github/codeql-action from 2.1.33 to 2.1.35dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.33 to 2.1.35. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2.1.33...b2a92eb56d8cb930006a1c6ed86b0782dd8a4297) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/6860
2022-12-02YJIT: check that we correctly auto-enable YJIT on Linux (#6854)Maxime Chevalier-Boisvert
* YJIT: check that we correctly auto-enable YJIT on Linux YJIT should be automatically built on Linux x86-64 when rustc is present, and we should see +YJIT in the version string. * Use miniruby rather than system ruby Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2022-12-02Avoid bash specific variable substitutionNobuyoshi Nakada
It may cause parse errors in some other sh even in never executed parts. Notes: Merged: https://github.com/ruby/ruby/pull/6844
2022-11-30Enable to dispatch Code scanning [ci skip]Nobuyoshi Nakada
2022-11-28Added permission restrictions for GitHub actionsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6821
2022-11-28[StepSecurity] ci: Harden GitHub ActionsStepSecurity Bot
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> Notes: Merged: https://github.com/ruby/ruby/pull/6811
2022-11-27Disable test-all on MJIT CI for nowTakashi Kokubun
https://github.com/ruby/ruby/actions/runs/3560006749/jobs/5979749144
2022-11-27Test only --mjit-wait for nowTakashi Kokubun
We've disabled MJIT CI on GitHub Actions for a while. It's convenient that fork repositories need to see failures or disable it. We should remove unused CI by default instead of silently disabling it. Since I saw --mjit-wait passed on my fork, I'd like to try running --mjit-wait one.
2022-11-25Allow an arbitrary number of newlinesTakashi Kokubun
2022-11-26Follow the NEWS.md change up [ci skip]Nobuyoshi Nakada
2022-11-25[StepSecurity] ci: Harden GitHub ActionsStepSecurity Bot
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> Notes: Merged: https://github.com/ruby/ruby/pull/6810
2022-11-21YJIT: Lower the required Rust version from 1.58.1 to 1.58.0 (#6780)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-11-15Let mjit-bindgen use BASERUBY and bundle/inline (#6740)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-11-14Try to let dependabot maintain the version commentTakashi Kokubun
It seems like dependabot supports updating the `# vX.Y.Z` comment. The reason why I disabled this was that it failed to update this, but maybe it was because it had `, checking sha`. Let me try it again with that removed.
2022-11-14Bump actions/upload-artifact from 3.1.0 to 3.1.1dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/3cea5372237819ed00197afe530f5a7ea3e805c8...83fd05a356d7e2593de66fc9913b3002723633cb) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Notes: Merged: https://github.com/ruby/ruby/pull/6723
2022-11-11Enable only master-branchHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6716
2022-11-11Test with topic-branchHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6716
2022-11-11Use secrets.SCORECARD_READ_TOKENHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6716
2022-11-11Try to use ossf/scorecardsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6716
2022-11-08Set default %printer for NODE ntermsyui-knk
Before: ``` Reducing stack by rule 639 (line 5062): $1 = token "integer literal" (1.0-1.1: 1) -> $$ = nterm simple_numeric (1.0-1.1: ) ``` After: ``` Reducing stack by rule 641 (line 5078): $1 = token "integer literal" (1.0-1.1: 1) -> $$ = nterm simple_numeric (1.0-1.1: NODE_LIT) ``` `"<*>"` is supported by Bison 2.3b (2008-05-27) or later. https://git.savannah.gnu.org/cgit/bison.git/commit/?id=12e3584054c16ab255672c07af0ffc7bb220e8bc Therefore developers need to install Bison 2.3b+ to build ruby from source codes if their Bison is older. Minimum version requirement for Bison is changed to 3.0. See: https://bugs.ruby-lang.org/issues/19068 [Feature #19068] Notes: Merged: https://github.com/ruby/ruby/pull/6579
2022-11-03Run only daily schedule because CodeQL provides a lot of false-positive ↵Hiroshi SHIBATA
results for Ruby code
2022-10-30Try -fstack-protector-strong on MinGWNobuyoshi Nakada
The CI for MinGW has used it.
2022-10-30Run spec_guards only when spec files changed [ci skip]Nobuyoshi Nakada
2022-10-26YJIT: Test --yjit-verify-ctx on GitHub Actions as well (#6639)Takashi Kokubun
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
2022-10-26Fix the url of Cirrus failure notifications [ci skip]Takashi Kokubun
The previous one was the url of this notification action, but we want to see a link to Cirrus CI. This code follows https://cirrus-ci.org/guide/notifications/. Also, head_branch was null only for pull requests from a fork, so we can use it for branch-based filtering, which is good.
2022-10-25Improve Cirrus notification metadata [ci skip]Takashi Kokubun
2022-10-25CI skip should not be notified [ci skip]Takashi Kokubun