Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/release.yml

This file was deleted.

8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:
required: true

env:
SILK_ASSET_GROUP: mongodb-ruby-driver
GEM_NAME: mongo
PRODUCT_NAME: Ruby Driver
PRODUCT_ID: mongodb-ruby-driver
Expand Down Expand Up @@ -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
Copy link

Copilot AI Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pin GitHub Actions to a specific commit SHA instead of a floating tag (v3) to prevent supply chain attacks. Example: uses: mongodb-labs/drivers-github-tools/ruby/pr-check@ with a comment noting the corresponding tag.

Suggested change
uses: mongodb-labs/drivers-github-tools/ruby/pr-check@v3
# v3.2.1
uses: mongodb-labs/drivers-github-tools/ruby/pr-check@c0ffee1234567890abcdef1234567890abcdef12

Copilot uses AI. Check for mistakes.

build:
name: "Build Gems"
Expand All @@ -56,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
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
Copy link

Copilot AI Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pin this action to a full commit SHA rather than the v3 tag to reduce the risk of tag hijacking. Example: uses: mongodb-labs/drivers-github-tools/ruby/build@ and optionally annotate the tag in a comment.

Suggested change
uses: mongodb-labs/drivers-github-tools/ruby/build@v3
# v3 tag
uses: mongodb-labs/drivers-github-tools/ruby/build@a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0

Copilot uses AI. Check for mistakes.
with:
app_id: ${{ vars.APP_ID }}
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
Expand All @@ -72,7 +71,7 @@ jobs:
runs-on: 'ubuntu-latest'
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
Copy link

Copilot AI Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, pin the publish action to a specific commit SHA instead of the v3 tag to ensure immutability of the workflow dependency.

Suggested change
uses: mongodb-labs/drivers-github-tools/ruby/publish@v3
uses: mongodb-labs/drivers-github-tools/ruby/publish@a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0

Copilot uses AI. Check for mistakes.
with:
app_id: ${{ vars.APP_ID }}
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
Expand All @@ -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 }}