-
Notifications
You must be signed in to change notification settings - Fork 12
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
Showing
54 changed files
with
1,472 additions
and
1,244 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
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,16 @@ | ||
name: Sundry Chores | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- release/v* | ||
- master | ||
|
||
jobs: | ||
good_pr_title: | ||
name: Ensure Semantic PR Title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: aslafy-z/conventional-pr-title-action@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Create Issues from TODOs | ||
|
||
on: | ||
push: | ||
branches: | ||
- release/v* | ||
- master | ||
|
||
jobs: | ||
todo_issue: | ||
name: Create Issues from TODOs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: TODO to Issue | ||
id: todo | ||
uses: alstr/todo-to-issue-action@v2.0 | ||
with: | ||
REPO: ${{ github.repository }} | ||
BEFORE: ${{ github.event.before }} | ||
SHA: ${{ github.sha }} | ||
TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
LABEL: "#// TODO:" | ||
COMMENT_MARKER: "#//" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Update Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build_documentation: | ||
name: Build RAMSTK documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ammaraskar/sphinx-action@master | ||
with: | ||
docs-folder: "docs/" | ||
|
||
- name: Commit RAMSTK Documentation | ||
run: | | ||
git clone https://github.com/ReliaQualAssociates/ramstk.git --branch gh-pages --single-branch gh-pages | ||
cp -fr docs/_build/html/* gh-pages/ | ||
cd gh-pages | ||
git config --local user.email "action@github.com" | ||
git config --local user.name "GitHub Action" | ||
git add . | ||
git commit -a -m "Update documentation" | ||
- name: Push RAMSTK Documentation Changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
branch: gh-pages | ||
directory: gh-pages | ||
github_token: ${{ secrets.GITHUB_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
name: Static Code Checks | ||
|
||
on: | ||
push: | ||
branches: | ||
- release/v* | ||
- master | ||
pull_request: | ||
branches: | ||
- release/v* | ||
- master | ||
|
||
jobs: | ||
bandit: | ||
name: Check for Security Vulnerabilities | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run bandit against repository | ||
uses: jpetrucciani/bandit-check@master | ||
with: | ||
path: 'src/ramstk' | ||
|
||
format-check: | ||
name: Check Code Formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check code format with docformatter and isort | ||
uses: weibullguy/python-lint-plus@master | ||
with: | ||
python-root-list: "src/ramstk" | ||
use-black: false | ||
use-isort: true | ||
use-docformatter: true | ||
use-pycodestyle: false | ||
use-pydocstyle: false | ||
use-mypy: false | ||
use-pylint: false | ||
use-flake8: false | ||
extra-black-options: "" | ||
extra-isort-options: "--settings-file ./setup.cfg" | ||
extra-docformatter-options: "" | ||
extra-pycodestyle-options: "" | ||
extra-pydocstyle-options: "" | ||
extra-mypy-options: "" | ||
extra-pylint-options: "" | ||
extra-flake8-options: "" | ||
|
||
style-check: | ||
name: Check Code Styling | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check code style with pycodestyle and pydocstyle | ||
uses: weibullguy/python-lint-plus@master | ||
with: | ||
python-root-list: "src/ramstk" | ||
use-black: false | ||
use-isort: false | ||
use-docformatter: false | ||
use-pycodestyle: true | ||
use-pydocstyle: true | ||
use-mypy: false | ||
use-pylint: false | ||
use-flake8: false | ||
extra-black-options: "" | ||
extra-isort-options: "" | ||
extra-docformatter-options: "" | ||
extra-pycodestyle-options: "--config=./setup.cfg --count" | ||
extra-pydocstyle-options: "--count" | ||
extra-mypy-options: "" | ||
extra-pylint-options: "" | ||
|
||
lint-it: | ||
name: Lint Code | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Lint code with mypy and pylint | ||
uses: weibullguy/python-lint-plus@master | ||
with: | ||
python-root-list: "src/ramstk" | ||
use-black: false | ||
use-isort: false | ||
use-docformatter: false | ||
use-pycodestyle: false | ||
use-pydocstyle: false | ||
use-mypy: true | ||
use-pylint: true | ||
use-flake8: false | ||
extra-black-options: "" | ||
extra-isort-options: "" | ||
extra-docformatter-options: "" | ||
extra-pycodestyle-options: "" | ||
extra-pydocstyle-options: "" | ||
extra-mypy-options: "--config-file ./setup.cfg" | ||
extra-pylint-options: "-j0 --rcfile=./setup.cfg --dummy-variables-rgx='__'" | ||
extra-flake8-options: "" |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Draft Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- release/v* | ||
|
||
jobs: | ||
update_release_draft: | ||
name: Update the Draft Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
release_notes_preview: | ||
name: Release Notes Preview | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
- run: | | ||
git fetch --prune --unshallow --tags | ||
- name: Create Release Notes Preview | ||
uses: snyk/release-notes-preview@v1.6.2 | ||
with: | ||
releaseBranch: master | ||
env: | ||
GITHUB_PR_USERNAME: ${{ github.actor }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.