-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* closes #1582 * ci: remove format_checkers from pre-commit * ci: removing format_checkers from linting * ci: run format_checkers if checkers are added * fix: formatting * fix: commit branch * docs: updating checker table
- Loading branch information
Showing
5 changed files
with
39 additions
and
15 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,33 @@ | ||
name: Formatting | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'cve_bin_tool/checkers/__init__.py' | ||
|
||
jobs: | ||
formatting: | ||
name: Formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
cache: 'pip' | ||
- name: Install cve-bin-tool | ||
run: | | ||
python -m pip install --upgrade wheel | ||
python -m pip install . | ||
- name: Run format_checkers.py | ||
run: | | ||
python cve_bin_tool/format_checkers.py | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
commit-message: "chore: update checkers table" | ||
title: "chore: update checkers table" | ||
branch: chore-update-table | ||
delete-branch: true | ||
author: GitHub <noreply@github.com> |
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
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