-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Update release refs for master branch #6053
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -16,7 +16,6 @@ on: | |||||||
required: true | ||||||||
|
||||||||
env: | ||||||||
SILK_ASSET_GROUP: mongoid | ||||||||
GEM_NAME: mongoid | ||||||||
PRODUCT_NAME: Mongoid | ||||||||
PRODUCT_ID: mongoid | ||||||||
|
@@ -47,7 +46,7 @@ jobs: | |||||||
steps: | ||||||||
- name: "Run the check action" | ||||||||
id: check | ||||||||
uses: jamis/drivers-github-tools/ruby/pr-check@ruby-3643-update-release-process | ||||||||
uses: mongodb-labs/drivers-github-tools/ruby/pr-check@v3 | ||||||||
|
||||||||
build: | ||||||||
name: "Build Gems" | ||||||||
|
@@ -56,7 +55,7 @@ jobs: | |||||||
runs-on: ubuntu-latest | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider pinning the runner to a specific Ubuntu image (e.g., ubuntu-22.04) to avoid unexpected breakages when ubuntu-latest advances to a new default. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||
steps: | ||||||||
- name: "Run the build action" | ||||||||
uses: jamis/drivers-github-tools/ruby/build@ruby-3643-update-release-process | ||||||||
uses: mongodb-labs/drivers-github-tools/ruby/build@v3 | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pin this action to a specific commit SHA rather than the v3 tag to ensure immutability and mitigate upstream compromises. Example: uses: mongodb-labs/drivers-github-tools/ruby/build@ # v3.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||
with: | ||||||||
app_id: ${{ vars.APP_ID }} | ||||||||
app_private_key: ${{ secrets.APP_PRIVATE_KEY }} | ||||||||
|
@@ -72,7 +71,7 @@ jobs: | |||||||
runs-on: 'ubuntu-latest' | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For consistency and reproducibility, pin this to a specific runner version (e.g., ubuntu-22.04) rather than ubuntu-latest. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||
steps: | ||||||||
- name: "Run the publish action" | ||||||||
uses: jamis/drivers-github-tools/ruby/publish@ruby-3643-update-release-process | ||||||||
uses: mongodb-labs/drivers-github-tools/ruby/publish@v3 | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similarly, pin the publish action to a commit SHA instead of the floating v3 tag for stronger supply-chain security. Example: uses: mongodb-labs/drivers-github-tools/ruby/publish@ # v3.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||
with: | ||||||||
app_id: ${{ vars.APP_ID }} | ||||||||
app_private_key: ${{ secrets.APP_PRIVATE_KEY }} | ||||||||
|
@@ -84,5 +83,4 @@ jobs: | |||||||
product_name: ${{ env.PRODUCT_NAME }} | ||||||||
product_id: ${{ env.PRODUCT_ID }} | ||||||||
release_message: ${{ needs.check.outputs.message }} | ||||||||
silk_asset_group: ${{ env.SILK_ASSET_GROUP }} | ||||||||
ref: ${{ needs.check.outputs.ref }} |
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.
Pin the action to a specific commit SHA instead of a floating tag to prevent supply-chain attacks. Example: uses: mongodb-labs/drivers-github-tools/ruby/pr-check@ with a trailing comment noting # v3.
Copilot uses AI. Check for mistakes.