-
Notifications
You must be signed in to change notification settings - Fork 6
Fix github action version by hash #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the GitHub Actions workflow files to use commit hashes instead of simple version tags for improved security and reproducibility. The key changes include:
- Updating the branch-names, checkout, and ruby/setup-ruby actions in test workflows.
- Pinning commit hashes for actions/checkout, ruby/setup-ruby, and rubygems/release-gem in the release workflow.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/test.yml | Updated commit hashes for tj-actions/branch-names, actions/checkout, ruby/setup-ruby, and codeclimate-action to reflect secure, pinned versions. |
| .github/workflows/release-gem.yml | Updated commit hashes for actions/checkout, ruby/setup-ruby, and rubygems/release-gem for consistent version pinning. |
Comments suppressed due to low confidence (9)
.github/workflows/test.yml:27
- [nitpick] Confirm that the commit hash for tj-actions/branch-names accurately reflects the intended v7.0.7 release; consider adding a link or note to the source commit for clarity.
uses: tj-actions/branch-names@6c999acf206f5561e19f46301bb310e9e70d8815 # v7.0.7
.github/workflows/test.yml:60
- [nitpick] Verify that the commit hash for actions/checkout correctly corresponds to v3.6.0; adding a reference to the commit source could improve future traceability.
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
.github/workflows/test.yml:63
- [nitpick] Ensure the pinned commit hash for ruby/setup-ruby reflects the correct v1.243.0 release; consider including a comment with a reference URL for clarity.
uses: ruby/setup-ruby@c95ae3725f6ebdd095f2bd19caed7ebc14435ba5 # v1.243.0
.github/workflows/test.yml:47
- [nitpick] Confirm that the commit hash for paambaati/codeclimate-action is correctly pinned to the intended v2.7.5 release and consider adding a link to the commit details.
uses: paambaati/codeclimate-action@7bcf9e73c0ee77d178e72c0ec69f1a99c1afc1f3 # v2.7.5
.github/workflows/test.yml:60
- [nitpick] Verify that the commit hash for actions/checkout remains accurate for v3.6.0 in this context as well; a cross-reference comment might be helpful.
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
.github/workflows/test.yml:63
- [nitpick] Double-check that the commit hash for ruby/setup-ruby is properly aligned with the intended v1.243.0 release; adding additional commit context may aid future maintenance.
uses: ruby/setup-ruby@c95ae3725f6ebdd095f2bd19caed7ebc14435ba5 # v1.243.0
.github/workflows/release-gem.yml:16
- [nitpick] Ensure the commit hash for actions/checkout accurately represents v4.2.2; consider adding a link to the commit for easier verification.
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
.github/workflows/release-gem.yml:18
- [nitpick] Confirm that the commit hash for ruby/setup-ruby is correct for the intended v1.243.0 release and consider documenting the commit source.
uses: ruby/setup-ruby@c95ae3725f6ebdd095f2bd19caed7ebc14435ba5 # v1.243.0
.github/workflows/release-gem.yml:25
- [nitpick] Verify that the commit hash for rubygems/release-gem matches the desired v1.1.1 release; adding a reference to the commit details may improve transparency.
uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
a5118e4 to
04bc8fd
Compare
50c47d4 to
e7348ca
Compare
graphql-kaminari_connection.gemspec
Outdated
| spec.add_development_dependency 'appraisal', '~> 2.5' | ||
| spec.add_development_dependency 'bundler', '~> 2.2' | ||
| spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0' | ||
| spec.add_development_dependency 'concurrent-ruby', '< 1.3.5' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this version constraint added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a mistake
I removed the unrelated commits
e7348ca to
db2a973
Compare
db2a973 to
12c1d65
Compare
What
Close #41
Refs