Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/build-windows-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ jobs:

steps:
- name: "Generate token and checkout repository"
uses: mongodb-labs/drivers-github-tools/secure-checkout@v2
uses: mongodb-labs/drivers-github-tools/secure-checkout@v3
with:
app_id: ${{ vars.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
ref: ${{ inputs.ref }}

- name: "Set up drivers-github-tools"
uses: mongodb-labs/drivers-github-tools/setup@v2
uses: mongodb-labs/drivers-github-tools/setup@v3
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
aws_region_name: ${{ vars.AWS_REGION_NAME }}
Expand All @@ -108,7 +108,7 @@ jobs:
php_mongodb.pdb

- name: "Create detached DLL signature"
uses: mongodb-labs/drivers-github-tools/gpg-sign@v2
uses: mongodb-labs/drivers-github-tools/gpg-sign@v3
with:
filenames: php_mongodb.dll

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:

steps:
- name: "Generate token and checkout repository"
uses: mongodb-labs/drivers-github-tools/secure-checkout@v2
uses: mongodb-labs/drivers-github-tools/secure-checkout@v3
with:
app_id: ${{ vars.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
ref: ${{ inputs.ref }}
submodules: true

- name: "Set up drivers-github-tools"
uses: mongodb-labs/drivers-github-tools/setup@v2
uses: mongodb-labs/drivers-github-tools/setup@v3
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
aws_region_name: ${{ vars.AWS_REGION_NAME }}
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
echo "PACKAGE_FILE=mongodb-${PACKAGE_VERSION}.tgz" >> "$GITHUB_ENV"

- name: "Create detached signature for PECL package"
uses: mongodb-labs/drivers-github-tools/gpg-sign@v2
uses: mongodb-labs/drivers-github-tools/gpg-sign@v3
with:
filenames: ${{ env.PACKAGE_FILE }}

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ jobs:
run: echo '🎬 Release process for version ${{ inputs.version }} started by @${{ github.triggering_actor }}' >> $GITHUB_STEP_SUMMARY

- name: "Generate token and checkout repository"
uses: mongodb-labs/drivers-github-tools/secure-checkout@v2
uses: mongodb-labs/drivers-github-tools/secure-checkout@v3
with:
app_id: ${{ vars.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
submodules: true
fetch-depth: 0

- name: "Set up drivers-github-tools"
uses: mongodb-labs/drivers-github-tools/setup@v2
uses: mongodb-labs/drivers-github-tools/setup@v3
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
aws_region_name: ${{ vars.AWS_REGION_NAME }}
Expand All @@ -80,7 +80,7 @@ jobs:
php-version: "${{ matrix.php-version }}"

- name: "Create package commit"
uses: mongodb-labs/drivers-github-tools/bump-version@v2
uses: mongodb-labs/drivers-github-tools/bump-version@v3
with:
version: ${{ inputs.version }}
# Note: this script will fail and abort if the requested version can't be released
Expand All @@ -90,15 +90,15 @@ jobs:
push_commit: false

- name: "Create release tag"
uses: mongodb-labs/drivers-github-tools/tag-version@v2
uses: mongodb-labs/drivers-github-tools/tag-version@v3
with:
version: ${{ inputs.version }}
tag_message_template: 'Release ${VERSION}'
# Don't push tag, we'll do that after merging up
push_tag: false

- name: "Bump to next development release and commit"
uses: mongodb-labs/drivers-github-tools/bump-version@v2
uses: mongodb-labs/drivers-github-tools/bump-version@v3
with:
version: ${{ inputs.version }}
version_bump_script: "./bin/update-release-version.php to-next-dev"
Expand Down Expand Up @@ -187,15 +187,15 @@ jobs:

steps:
- name: "Generate token and checkout repository"
uses: mongodb-labs/drivers-github-tools/secure-checkout@v2
uses: mongodb-labs/drivers-github-tools/secure-checkout@v3
with:
app_id: ${{ vars.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
ref: refs/tags/${{ inputs.version }}

# Sets the S3_ASSETS environment variable used later
- name: "Set up drivers-github-tools"
uses: mongodb-labs/drivers-github-tools/setup@v2
uses: mongodb-labs/drivers-github-tools/setup@v3
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
aws_region_name: ${{ vars.AWS_REGION_NAME }}
Expand All @@ -209,7 +209,7 @@ jobs:
run: gh release download ${{ inputs.version }} --dir ${{ env.RELEASE_ASSETS }}

- name: "Generate SSDLC Reports"
uses: mongodb-labs/drivers-github-tools/full-report@v2
uses: mongodb-labs/drivers-github-tools/full-report@v3
with:
product_name: "MongoDB PHP Driver (extension)"
release_version: ${{ inputs.version }}
Expand All @@ -220,7 +220,7 @@ jobs:
run: gh release upload ${{ inputs.version }} ${{ env.S3_ASSETS }}/cyclonedx.sbom.json

- name: Upload S3 assets
uses: mongodb-labs/drivers-github-tools/upload-s3-assets@v2
uses: mongodb-labs/drivers-github-tools/upload-s3-assets@v3
with:
version: ${{ inputs.version }}
product_name: mongo-php-driver