Skip to content

Commit ab40ac5

Browse files
authored
Merge branch 'main' into temp/release-merge-1745264853
2 parents b4338b8 + 1963c02 commit ab40ac5

File tree

3 files changed

+26
-9
lines changed

3 files changed

+26
-9
lines changed

.github/CODEOWNERS

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
* @aws-amplify/amplify-js
2-
/packages/api @aws-amplify/amplify-js @aws-amplify/amplify-data
3-
/packages/api-graphql @aws-amplify/amplify-data
4-
/packages/api-rest @aws-amplify/amplify-js @aws-amplify/amplify-data
5-
/packages/core @aws-amplify/amplify-js @aws-amplify/amplify-data
6-
/packages/datastore @aws-amplify/amplify-data
7-
/packages/datastore-storage-adapter @aws-amplify/amplify-data
2+
/packages/api @aws-amplify/amplify-js
3+
/packages/api-graphql @aws-amplify/amplify-js
4+
/packages/api-rest @aws-amplify/amplify-js
5+
/packages/core @aws-amplify/amplify-js
6+
/packages/datastore @aws-amplify/amplify-js
7+
/packages/datastore-storage-adapter @aws-amplify/amplify-js
88
/packages/geo @aws-amplify/amplify-js @aws-amplify/amplify-ui
9-
/packages/pubsub @aws-amplify/amplify-js @aws-amplify/amplify-data
9+
/packages/pubsub @aws-amplify/amplify-js
1010
/packages/aws-amplify/package.json @aws-amplify/amplify-js-admins
1111
/packages/storage/src/storageBrowser @aws-amplify/amplify-js @aws-amplify/amplify-ui
1212
/packages/storage/storage-browser @aws-amplify/amplify-js @aws-amplify/amplify-ui

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ the requirements below.
1212

1313
#### Issue #, if available
1414
<!-- Also, please reference any associated PRs for documentation updates. -->
15-
15+
<!-- For external contributions, provide the github issue the PR is addressing. If no github issue exists for the related changes, open a new issue in https://github.com/aws-amplify/amplify-js/issues. -->
1616

1717

1818
#### Description of how you validated changes

.github/workflows/callable-docs-update.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,22 @@ jobs:
4848
run: |
4949
yarn run docs:references
5050
51+
- name: Prepare docs temp branch
52+
working-directory: ./docs
53+
env:
54+
TEMP_BRANCH_NAME: ${{ needs.docs-update-prep.outputs.branch_name }}
55+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AMPLIFY_JS_WRITE }}
56+
run: |
57+
# First sync pre-prod/main with main using the "theirs" strategy to resolve conflicts
58+
git fetch origin main pre-prod/main
59+
git checkout pre-prod/main
60+
# Use -X theirs to automatically resolve conflicts in favor of main
61+
git merge origin/main --no-edit -X theirs
62+
git push origin pre-prod/main
63+
64+
# Now create a new branch from the updated pre-prod/main
65+
git checkout -b $TEMP_BRANCH_NAME
66+
5167
- name: Update API references in the docs site
5268
working-directory: ./docs
5369
run: |
@@ -61,6 +77,7 @@ jobs:
6177
TEMP_BRANCH_NAME: ${{ needs.docs-update-prep.outputs.branch_name }}
6278
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_AMPLIFY_JS_WRITE }}
6379
run: |
64-
git checkout -b $TEMP_BRANCH_NAME
6580
git push origin $TEMP_BRANCH_NAME
81+
82+
# Create PR from the temp branch to pre-prod/main
6683
gh pr create -B pre-prod/main -H $TEMP_BRANCH_NAME --title 'chore: amplify-js api references update' --body 'Merge the api references changes from the most recent release.'

0 commit comments

Comments
 (0)