-
Notifications
You must be signed in to change notification settings - Fork 567
chore(release): 6.1.1 #434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
166a820
Add github actions
gsingh04 4e42ee1
Move workflow files
gsingh04 6ae6e49
Remove redundant workflow file
gsingh04 d5fa2f8
Run pipeline job for only aws solutions owned repo
gsingh04 3912c4d
Run unit test workflow on push in forks
gsingh04 5ae1ee4
Fix workflow file syntax
gsingh04 7201343
Run workflow with push on forks
gsingh04 b6c02f4
Merge pull request #402 from gsingh04/develop
gsingh04 4d989bc
Address eslint, CodeQL recommendations and issues
d0ead90
Merge pull request #413 from dougtoppin/feature/eslint
dougtoppin 50ad5e8
Add package-lock to gitignore
130afa6
Merge branch 'develop' into chore/ignore-package-lock
dougtoppin c71bc7e
Add pipeline related configuration files
025e81d
Merge pull request #419 from aws-solutions/chore/pipeline-config
dougtoppin 8cfd4a3
Merge branch 'develop' into chore/ignore-package-lock
dougtoppin c72ba3b
Merge pull request #415 from aws-solutions/chore/ignore-package-lock
dougtoppin 75c6b24
chore(docs): Update contributing for develop branch and PR steps (#421)
dougtoppin e4689f5
Resolve #416 demo-ui unicode support (#422)
dougtoppin 66fa67a
Update code-style-lint.yml (#425)
gsingh04 4ea6c93
chore(package-lock): Add package dependency files (#426)
dougtoppin f69392b
Bump json5 from 1.0.1 to 1.0.2 in /source (#428)
dependabot[bot] 1659062
CHANGELOG additions and version set to 6.1.1 (#431)
dougtoppin d5f9f5d
Update CHANGELOG.md
dougtoppin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 @@ | ||
| .github/workflows/ @aws-solutions/sb-csne |
This file contains hidden or 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 @@ | ||
| # Workflow that runs unit test | ||
| name: CDK Nag Test | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - '*' | ||
| pull_request: | ||
| types: [opened, edited, reopened, synchronize] | ||
|
|
||
| jobs: | ||
| cdk-nag: | ||
| name: CDK Nag Check | ||
| if: ${{ (github.repository_owner != 'aws-solutions' && github.event_name == 'push') || (github.repository_owner == 'aws-solutions' && github.event_name == 'pull_request') }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| node-version: [16.x] | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
| - run: | | ||
| cd source/constructs && npm i --only=dev | ||
| npx cdk synth | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,36 @@ | ||
| # Workflow that runs prettier code style check. | ||
| name: Code Style and Lint | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - '*' | ||
| pull_request: | ||
| types: [opened, edited, reopened, synchronize] | ||
|
|
||
| jobs: | ||
| prettier: | ||
| name: Style Check | ||
| if: ${{ (github.repository_owner != 'aws-solutions' && github.event_name == 'push') || (github.repository_owner == 'aws-solutions' && github.event_name == 'pull_request') }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| node-version: [16.x] | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - run: npx --y prettier --config source/.prettierrc.yml --check 'source/**/*.ts' | ||
| linter: | ||
| name: Lint Check | ||
| if: ${{ (github.repository_owner != 'aws-solutions' && github.event_name == 'push') || (github.repository_owner == 'aws-solutions' && github.event_name == 'pull_request') }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| node-version: [16.x] | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
| - run: | | ||
| cd source && npm i --only=dev | ||
| npx --y eslint . --ext .ts |
This file contains hidden or 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,24 @@ | ||
| name: Security Scans | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - '*' | ||
| pull_request: | ||
| types: [opened, edited, reopened, synchronize] | ||
|
|
||
| jobs: | ||
| codeql: | ||
| name: CodeQL Check | ||
| if: ${{ (github.repository_owner != 'aws-solutions' && github.event_name == 'push') || (github.repository_owner == 'aws-solutions' && github.event_name == 'pull_request') }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| language: [ javascript, typescript ] | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: github/codeql-action/init@v2 | ||
| with: | ||
| languages: ${{ matrix.language }} | ||
| - uses: github/codeql-action/analyze@v2 |
This file contains hidden or 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 @@ | ||
| name: Pipeline Workflow | ||
|
|
||
| env: | ||
| REGION: us-east-1 | ||
|
|
||
| on: push | ||
|
|
||
| jobs: | ||
| pipeline-job: | ||
| name: Pipeline Job | ||
| if: github.repository_owner == 'aws-solutions' | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| id-token: write | ||
| steps: | ||
| - name: Configure AWS credentials | ||
| uses: aws-actions/configure-aws-credentials@v1 | ||
| with: | ||
| role-to-assume: ${{ secrets.DISPATCHER_ROLE_ARN }} | ||
| aws-region: ${{ env.REGION }} | ||
| role-duration-seconds: 900 | ||
| role-session-name: OIDCSession | ||
| - name: Run CodeBuild | ||
| uses: aws-actions/aws-codebuild-run-build@v1 | ||
| with: | ||
| project-name: ${{ secrets.DISPATCHER_CODEBUILD_PROJECT_NAME }} |
This file contains hidden or 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 @@ | ||
| name: Pull Request Workflow | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - '*' | ||
| pull_request: | ||
| types: [opened, edited, reopened, synchronize] | ||
|
|
||
| jobs: | ||
| pull-request-job: | ||
| name: Status Checks | ||
| if: ${{ (github.repository_owner != 'aws-solutions' && github.event_name == 'push') || (github.repository_owner == 'aws-solutions' && github.event_name == 'pull_request') }} | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v3 | ||
| - name: Viperlight | ||
| run: | | ||
| wget -q https://viperlight-scanner.s3.amazonaws.com/latest/viperlight.zip | ||
| unzip -q viperlight.zip -d ../viperlight | ||
| rm -r ./viperlight.zip | ||
| echo "Content scanning utility installation complete `date`" | ||
| echo "Starting content scanning `date` in `pwd`" | ||
| ../viperlight/bin/viperlight scan -m files-contents -m files-aws -m files-binary -m files-entropy -m files-secrets | ||
| echo "Completed content scanning `date`" |
This file contains hidden or 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 @@ | ||
| # Workflow that runs unit test | ||
| name: Unit Test | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - '*' | ||
| pull_request: | ||
| types: [opened, edited, reopened, synchronize] | ||
|
|
||
| jobs: | ||
| unittest: | ||
| name: Unit Test Check | ||
| if: ${{ (github.repository_owner != 'aws-solutions' && github.event_name == 'push') || (github.repository_owner == 'aws-solutions' && github.event_name == 'pull_request') }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| node-version: [16.x] | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: ${{ matrix.node-version }} | ||
| - run: | | ||
| cd deployment | ||
| chmod +x ./run-unit-tests.sh && DEBUG=true ./run-unit-tests.sh |
This file contains hidden or 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,22 @@ | ||
| name: Close Stale Issues and PRs | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: "0 0 * * *" | ||
|
|
||
| jobs: | ||
| close-issues: | ||
| name: Close Stale Issues | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| issues: write | ||
| pull-requests: write | ||
| steps: | ||
| - uses: actions/stale@v3 | ||
| with: | ||
| days-before-stale: 90 | ||
| days-before-close: 7 | ||
| stale-issue-message: This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. | ||
| close-issue-message: This issue was closed because it has been inactive for 7 days since being marked as stale. | ||
| stale-pr-message: This pr has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. | ||
| close-pr-message: This pr was closed because it has been inactive for 7 days since being marked as stale. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--only=devno longer valid config for npm i