-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add read constraints on read-only jobs * Close stale issues once a day * Add workflow for CodeQL
- Loading branch information
1 parent
d4dff6f
commit 6f104e7
Showing
6 changed files
with
51 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
paths: | ||
- "boto3/" |
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,35 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: ["develop"] | ||
pull_request: | ||
branches: ["develop"] | ||
schedule: | ||
- cron: "0 0 * * 5" | ||
|
||
permissions: "read-all" | ||
|
||
jobs: | ||
analyze: | ||
name: "Analyze" | ||
runs-on: "ubuntu-latest" | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
steps: | ||
- name: "Checkout repository" | ||
uses: "actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3" | ||
|
||
- name: "Run CodeQL init" | ||
uses: "github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a" | ||
with: | ||
config-file: "./.github/codeql.yml" | ||
languages: "python" | ||
|
||
- name: "Run CodeQL autobuild" | ||
uses: "github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a" | ||
|
||
- name: "Run CodeQL analyze" | ||
uses: "github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a" |
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 |
---|---|---|
|
@@ -4,6 +4,9 @@ on: | |
pull_request: | ||
branches: [ master ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
fail: | ||
runs-on: ubuntu-latest | ||
|
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 |
---|---|---|
|
@@ -5,6 +5,9 @@ on: | |
pull_request: | ||
branches-ignore: [ master ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
|
||
|
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