-
Notifications
You must be signed in to change notification settings - Fork 4k
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 fix-glueray-props
- Loading branch information
Showing
2,165 changed files
with
523,529 additions
and
145,019 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 |
---|---|---|
@@ -1,16 +1,30 @@ | ||
> REPLACE THIS TEXT BLOCK | ||
> | ||
> Describe the reason for this change, what the solution is, and any | ||
> important design decisions you made. | ||
> | ||
> Remember to follow the [CONTRIBUTING GUIDE] and [DESIGN GUIDELINES] for any | ||
> code you submit. | ||
> | ||
> [CONTRIBUTING GUIDE]: https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md | ||
> [DESIGN GUIDELINES]: https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md | ||
### Issue # (if applicable) | ||
|
||
Closes #<issue number here>. | ||
|
||
### Reason for this change | ||
|
||
<!--What is the bug or use case behind this change?--> | ||
|
||
### Description of changes | ||
|
||
<!--What code changes did you make? Have you made any important design decisions?--> | ||
|
||
### Description of how you validated changes | ||
|
||
<!--Have you added any unit tests and/or integration tests?--> | ||
|
||
### Checklist | ||
- [ ] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) | ||
|
||
<!--Does this PR includes breaking changes? If it does, list them here in the following format (notice how multiple breaking changes should be formatted): | ||
``` | ||
BREAKING CHANGE: Description of the breaking change, the previous behaviour, and the new behaviour. | ||
* **module-name:** Another breaking change | ||
* **module-name:** Yet another breaking change | ||
``` | ||
--> | ||
---- | ||
|
||
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* |
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,63 @@ | ||
name: Sync repository from upstream | ||
on: | ||
workflow_dispatch: {} | ||
schedule: | ||
- cron: 5 2 * * * | ||
|
||
env: | ||
BRANCHES: main v2-release | ||
|
||
jobs: | ||
|
||
# Check for the presence of a PROJEN_GITHUB_TOKEN secret. | ||
# | ||
# This is expected to contain a personal access token of someone who has | ||
# permissions to bypass branch protection rules. | ||
# | ||
# If not present, we can only use GitHub Actions Token permissions, | ||
# but this has the following downsides: | ||
# | ||
# - Those are bound by branch protection rules (so automated pushing won't work). | ||
# - As soon as a workflow file needs to be changed, GitHub will reject the push. | ||
# Only Apps and Users can be allowed to modify workflows. | ||
check-secret: | ||
# Don't run on the target repo itself, only forks | ||
if: github.repository != 'aws/aws-cdk' | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check for presence of PROJEN_GITHUB_TOKEN | ||
id: check-secrets | ||
run: | | ||
if [ ! -z "${{ secrets.PROJEN_GITHUB_TOKEN }}" ]; then | ||
echo "ok=true" >> $GITHUB_OUTPUT | ||
else | ||
echo "ok=false" >> $GITHUB_OUTPUT | ||
fi | ||
outputs: | ||
ok: ${{ steps.check-secrets.outputs.ok }} | ||
|
||
sync-branch: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
needs: [check-secret] | ||
steps: | ||
- name: Checkout using User Token | ||
if: needs.check-secret.outputs.ok == 'true' | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PROJEN_GITHUB_TOKEN }} | ||
|
||
- name: Checkout using GitHub Actions permissions | ||
if: needs.check-secret.outputs.ok == 'false' | ||
uses: actions/checkout@v4 | ||
|
||
- name: Sync from aws/aws-cdk | ||
run: |- | ||
git remote add upstream https://github.com/aws/aws-cdk.git | ||
git fetch upstream $BRANCHES | ||
for branch in $BRANCHES; do | ||
git push origin --force refs/remotes/upstream/$branch:refs/heads/$branch | ||
done |
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 |
---|---|---|
|
@@ -51,3 +51,7 @@ RELEASE_NOTES.md | |
|
||
# Produced by integ tests | ||
read*lock | ||
|
||
# VSCode jest plugin | ||
.test-output | ||
|
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
Oops, something went wrong.