-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use release drafter * Revert CodeQL GH action
- Loading branch information
Showing
3 changed files
with
111 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
change-template: "- #$NUMBER $TITLE @$AUTHOR" | ||
sort-direction: ascending | ||
|
||
categories: | ||
- title: ":boom: Breaking Changes" | ||
label: "breaking-change" | ||
|
||
- title: ":sparkles: New Features" | ||
label: "new-feature" | ||
|
||
- title: ":zap: Performance" | ||
label: "performance" | ||
|
||
- title: ":recycle: Refactor" | ||
label: "refactor" | ||
|
||
- title: ":green_heart: CI" | ||
label: "ci" | ||
|
||
- title: ":bug: Bug Fixes" | ||
label: "bugfix" | ||
|
||
- title: ":white_check_mark: Test" | ||
label: "test" | ||
|
||
- title: ":arrow_up: Dependency Updates" | ||
label: "dependencies" | ||
collapse-after: 1 | ||
|
||
include-labels: | ||
- "breaking-change" | ||
- "performance" | ||
- "refactor" | ||
- "new-feature" | ||
- "bugfix" | ||
- "dependencies" | ||
- "test" | ||
- "ci" | ||
|
||
template: | | ||
$CHANGES |
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,38 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
schedule: | ||
- cron: "21 5 * * 0" | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: ["python"] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3.2.0 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
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,32 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
name: Release Drafter | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v3.2.0 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Find Version | ||
id: version | ||
run: | | ||
declare -i newpost | ||
version=$(python setup.py --version) | ||
echo Version from setup.py: $version | ||
echo "::set-output name=version::$version" | ||
- name: Run Release Drafter | ||
uses: release-drafter/release-drafter@v5.21.1 | ||
with: | ||
tag: ${{ steps.version.outputs.version }} | ||
name: Version ${{ steps.version.outputs.version }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |