-
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.
chore: sync files with stordco/common-config-elixir
- Loading branch information
1 parent
1ee086a
commit 405fe4d
Showing
8 changed files
with
183 additions
and
9 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
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,28 @@ | ||
{ | ||
"$comment": "This file is synced with stordco/common-config-elixir. Any changes will be overwritten.", | ||
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", | ||
"changelog-sections": [ | ||
{ | ||
"type": "hotfix", | ||
"section": "Hotfixes", | ||
"hidden": false | ||
} | ||
], | ||
"draft": false, | ||
"draft-pull-request": false, | ||
"packages": { | ||
".": { | ||
"extra-files": ["README.md"], | ||
"release-type": "elixir" | ||
} | ||
}, | ||
"plugins": [ | ||
{ | ||
"type": "sentence-case" | ||
} | ||
], | ||
"prerelease": false, | ||
"pull-request-header": "An automated hotfix release has been created for you.", | ||
"pull-request-title-pattern": "chore(main): release hotfix ${version}", | ||
"separate-pull-requests": true | ||
} |
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 |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
|
||
- id: changed | ||
name: Get Changed Files | ||
uses: tj-actions/changed-files@v43 | ||
uses: tj-actions/changed-files@v44 | ||
with: | ||
files_yaml: | | ||
database: | ||
|
@@ -56,6 +56,7 @@ jobs: | |
- '.github/workflows/ci.yaml' | ||
- 'Dockerfile' | ||
documentation: | ||
- 'docs/**' | ||
- 'priv/documentation/**' | ||
- '**.ex' | ||
- '**.md' | ||
|
@@ -97,6 +98,9 @@ jobs: | |
needs: [Changed] | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
MIX_ENV: test | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -214,3 +218,32 @@ jobs: | |
- elixir: 1.15 | ||
otp: 26 | ||
|
||
Trivy_Filesystem: | ||
if: ${{ !startsWith(github.head_ref, 'release-please--branches') }} | ||
name: Trivy Filesystem Scan | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
id-token: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Elixir | ||
uses: stordco/actions-elixir/setup@v1 | ||
with: | ||
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
hex-token: ${{ secrets.HEX_API_KEY }} | ||
oban-fingerprint: ${{ secrets.OBAN_KEY_FINGERPRINT }} | ||
oban-token: ${{ secrets.OBAN_LICENSE_KEY }} | ||
|
||
- name: Trivy Scan | ||
uses: stordco/[email protected] | ||
with: | ||
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
scan-type: fs | ||
slack-bot-token: ${{ secrets.SLACK_BOT_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 |
---|---|---|
|
@@ -26,6 +26,9 @@ jobs: | |
|
||
runs-on: ubuntu-latest | ||
|
||
env: | ||
MIX_ENV: test | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
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,18 @@ | ||
# This file is synced with stordco/common-config-elixir. Any changes will be overwritten. | ||
|
||
exit-code: '1' | ||
format: 'json' | ||
output: 'trivy-fs-results.json' | ||
scanners: | ||
- vuln | ||
severity: | ||
- CRITICAL | ||
- HIGH | ||
- MEDIUM | ||
- LOW | ||
- UNKNOWN | ||
timeout: '3m' | ||
vulnerability: | ||
type: | ||
- os | ||
- library |