-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into add-RUSTFLAG-aws_sdk_unstable
- Loading branch information
Showing
251 changed files
with
17,556 additions
and
10,632 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
name: Open a backport PR to merge the release branch into main | ||
|
||
on: | ||
# automatically called by release.yml | ||
workflow_dispatch: | ||
# can also be manually triggered when a patch fix is merged into the release branch and needs to be back-ported | ||
workflow_call: | ||
secrets: | ||
RELEASE_AUTOMATION_BOT_PAT: | ||
required: true | ||
|
||
env: | ||
release_branch: smithy-rs-release-1.x.y | ||
|
||
jobs: | ||
create-backport-pull-request: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.RELEASE_AUTOMATION_BOT_PAT }} | ||
|
||
- name: Prepare backport branch | ||
id: backport-branch | ||
run: | | ||
# This step assumes the merge runs cleanly without conflicts, which should be the case when | ||
# this workflow is called by the release workflow right after a release tag has been created. | ||
git config --local user.name "AWS SDK Rust Bot" | ||
git config --local user.email "aws-sdk-rust-primary@amazon.com" | ||
git fetch | ||
git checkout origin/main | ||
backport_branch="merge-${{ env.release_branch }}-to-main-$(date +%s)" | ||
git checkout -b "${backport_branch}" | ||
git merge "origin/${{ env.release_branch }}" -m 'Merge remote-tracking branch "origin/${{ env.release_branch }}" into "merge-${{ env.release_branch }}-to-main"' | ||
git push origin HEAD | ||
echo "branch_name=${backport_branch}" > $GITHUB_OUTPUT | ||
- name: Create pull request | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.RELEASE_AUTOMATION_BOT_PAT }} | ||
run: | | ||
gh pr create \ | ||
--title "Merge ${{ env.release_branch }} into main" \ | ||
--body "Merge it with \`gh pr merge --admin --merge\` or manually merge it with the merge commit (not squash merge)." \ | ||
--base main \ | ||
--head ${{ steps.backport-branch.outputs.branch_name }} \ | ||
--label "needs-sdk-review" \ | ||
--draft |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# This workflow performs a scheduled dry-run for smithy-rs release. | ||
# When run, it only produces release artifacts, but will not cut a release tag in GitHub or publish to crates.io. | ||
|
||
name: Scheduled smithy-rs dry-run release | ||
run-name: ${{ github.workflow }} | ||
on: | ||
schedule: | ||
# Runs 00:00 UTC every day | ||
- cron: 0 0 * * * | ||
|
||
jobs: | ||
smithy-rs-scheduled-dry-run-release: | ||
name: Scheduled dry-run release | ||
uses: ./.github/workflows/release.yml | ||
with: | ||
commit_sha: main | ||
dry_run: true | ||
skip_ci: true | ||
secrets: | ||
RELEASE_AUTOMATION_BOT_PAT: ${{ secrets.RELEASE_AUTOMATION_BOT_PAT }} | ||
RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN: ${{ secrets.RELEASE_AUTOMATION_BOT_CRATESIO_TOKEN }} | ||
CANARY_GITHUB_ACTIONS_ROLE_ARN: ${{ secrets.CANARY_GITHUB_ACTIONS_ROLE_ARN }} | ||
CANARY_STACK_CDK_OUTPUTS_BUCKET_NAME: ${{ secrets.CANARY_STACK_CDK_OUTPUTS_BUCKET_NAME }} |
Oops, something went wrong.