Skip to content

Commit af85cb8

Browse files
authored
release: Amplify JS release (#13782)
2 parents b351897 + 614e531 commit af85cb8

38 files changed

+1562
-1407
lines changed

.github/ISSUE_TEMPLATE/1.bug_report.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: Bug report
22
description: Create a report to help us improve Amplify JS
3-
labels: pending-triage
43

54
body:
65
- type: markdown

.github/ISSUE_TEMPLATE/2.feature_request.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: Feature request
22
description: Suggest an idea for Amplify JS
3-
labels: pending-triage
43

54
body:
65
- type: markdown

.github/ISSUE_TEMPLATE/3.usage-question.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/4.rfc.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/dependency-review/dependecy-review-config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
allow-licenses:
2-
- 'Apache-2.0'
32
- '0BSD'
4-
- 'BSL-1.0'
3+
- 'Apache-2.0'
4+
- 'BlueOak-1.0.0'
55
- 'BSD-1-Clause'
66
- 'BSD-2-Clause-FreeBSD'
77
- 'BSD-2-Clause'
88
- 'BSD-3-Clause-Attribution'
99
- 'BSD-3-Clause'
10+
- 'BSL-1.0'
1011
- 'CC-BY-3.0'
1112
- 'CC-BY-4.0'
13+
- 'CC0-1.0'
1214
- 'curl'
1315
- 'ISC'
1416
- 'JSON'
@@ -20,4 +22,3 @@ allow-licenses:
2022
- 'Unlicense'
2123
- 'WTFPL'
2224
- 'Zlib'
23-
- 'CC0-1.0'

.github/integ-config/detox-integ-all.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@
1616
- test_name: 'integ_rn_ios_api_v6_rn_72_detox_cli'
1717
working_directory: amplify-js-samples-staging/samples/react-native/api/v6/ApiGRAPHQL
1818
timeout_minutes: 120
19+
- test_name: 'integ_rn_ios_oidc_signout'
20+
working_directory: amplify-js-samples-staging/samples/react-native/auth/HosteduiApp
21+
timeout_minutes: 120
22+
host_signout_page: true

.github/integ-config/integ-all.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,13 @@ tests:
514514
sample_name: [sign-in-with-oauth]
515515
spec: sign-in-with-oauth
516516
browser: [chrome]
517+
- test_name: integ_vue_sign_out_of_oidc_provider
518+
desc: 'Sign-out of OIDC provider'
519+
framework: vue
520+
category: auth
521+
sample_name: [sign-in-with-oauth]
522+
spec: sign-out-oidc-provider
523+
browser: [chrome]
517524

518525
# AUTH GEN2
519526
- test_name: integ_react_javascript_authentication_gen2

.github/workflows/callable-e2e-test-detox.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
timeout_minutes:
1414
required: true
1515
type: number
16+
host_signout_page:
17+
required: false
18+
type: boolean
19+
default: false
1620

1721
jobs:
1822
e2e-test:
@@ -70,6 +74,11 @@ jobs:
7074
JEST_JUNIT_OUTPUT_NAME: detox-test-results.xml
7175
working-directory: ${{ inputs.working_directory }}
7276
shell: bash
77+
- name: Start the http-server and host the oidc signout page locally (background).
78+
if: ${{ inputs.host_signout_page }}
79+
run: yarn host:signout
80+
working-directory: ${{ inputs.working_directory }}
81+
shell: bash
7382
- name: Detox run
7483
run: |
7584
$GITHUB_WORKSPACE/amplify-js/scripts/retry-yarn-script.sh -s 'detox test -c ios.sim.debug -u' -n 3

.github/workflows/callable-e2e-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,4 @@ jobs:
7474
test_name: ${{ matrix.integ-config.test_name }}
7575
working_directory: ${{ matrix.integ-config.working_directory }}
7676
timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 45 }}
77+
host_signout_page: ${{ matrix.integ-config.host_signout_page || false }}

.github/workflows/issue-closed.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Issue Closed
2+
3+
on:
4+
issues:
5+
types: [closed]
6+
7+
permissions:
8+
issues: write
9+
10+
jobs:
11+
cleanup-labels:
12+
runs-on: ubuntu-latest
13+
if: ${{ (contains(github.event.issue.labels.*.name, 'pending-community-response') || contains(github.event.issue.labels.*.name, 'pending-maintainer-response') || contains(github.event.issue.labels.*.name, 'pending-triage')) }}
14+
steps:
15+
- name: Remove unnecessary labels after closing
16+
shell: bash
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
ISSUE_NUMBER: ${{ github.event.issue.number }}
20+
REPOSITORY_NAME: ${{ github.event.repository.full_name }}
21+
run: |
22+
gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --remove-label "pending-community-response" --remove-label "pending-maintainer-response" --remove-label "pending-triage"

0 commit comments

Comments
 (0)