-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a881ef
commit ab3198a
Showing
15 changed files
with
328 additions
and
124 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
--- | ||
name: snyk | ||
|
||
on: # yamllint disable-line rule:truthy | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: | ||
- "**" # matches every branch | ||
- "!main" # excludes main | ||
- '**' # matches every branch | ||
- '!main' # excludes main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
security: | ||
runs-on: | ||
- arc | ||
- ubuntu-latest | ||
name: snyk | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v2 | ||
- name: Vulnerability scan | ||
uses: snyk/actions/iac@master | ||
with: | ||
command: monitor | ||
args: --severity-threshold=low | ||
- name: Set up Node 18 | ||
- name: Set up Node 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
node-version: 16 | ||
- name: install Snyk CLI | ||
run: npm install -g snyk | ||
- name: snyk monitor | ||
run: snyk iac test --report --severity-threshold=medium | ||
run: snyk iac test --report | ||
env: | ||
SNYK_TOKEN: ${{ secrets.ARC_SNYK_TOKEN }} |
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,50 @@ | ||
--- | ||
name: Update-docs | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
transfer-file: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Pushes Readme file | ||
uses: dmnemec/copy_file_to_another_repo_action@main | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
API_TOKEN_GITHUB: ${{ secrets.ARC_DOCS_API_TOKEN_GITHUB }} | ||
with: | ||
source_file: 'README.md' | ||
destination_repo: 'sourcefuse/arc-docs' | ||
destination_folder: 'docs/arc-iac-docs/modules/terraform-aws-arc-db' | ||
user_email: '[email protected]' | ||
user_name: ${{ github.actor }} | ||
commit_message: ${{ github.event.head_commit.message }} | ||
- name: Pushes to another repository | ||
uses: cpina/github-action-push-to-another-repository@main | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
API_TOKEN_GITHUB: ${{ secrets.ARC_DOCS_API_TOKEN_GITHUB }} | ||
with: | ||
source-directory: 'static' | ||
destination-github-username: 'sourcefuse' | ||
destination-repository-name: 'arc-docs' | ||
target-directory: 'docs/arc-iac-docs/modules/terraform-aws-arc-db/static' | ||
user-email: '[email protected]' | ||
user-name: ${{ github.actor }} | ||
target-branch: main | ||
commit-message: ${{ github.event.head_commit.message }} | ||
- name: Pushes Module Usage Guide | ||
uses: dmnemec/copy_file_to_another_repo_action@main | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
API_TOKEN_GITHUB: ${{ secrets.ARC_DOCS_API_TOKEN_GITHUB }} | ||
with: | ||
source_file: 'docs/module-usage-guide/README.md' | ||
destination_repo: 'sourcefuse/arc-docs' | ||
destination_folder: 'docs/arc-iac-docs/modules/terraform-aws-arc-db/docs/module-usage-guide' | ||
user_email: '[email protected]' | ||
user_name: ${{ github.actor }} | ||
commit_message: ${{ github.event.head_commit.message }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.