-
Notifications
You must be signed in to change notification settings - Fork 27
1604 automated ci workflows should run on push to main #1642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
SFJohnson24
merged 11 commits into
main
from
1604-automated-ci-workflows-should-run-on-push-to-main
Mar 2, 2026
+135
−131
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
5a8e3cc
standardize workflow filenames
gerrycampion 61e1b45
removed extraneous automated-ci and added actions to push to main
gerrycampion 1e67edc
fix security issues
gerrycampion 71b0ae8
Merge branch 'main' into 1604-automated-ci-workflows-should-run-on-pu…
gerrycampion e0303e2
deploy tester endpoint on all pr events
gerrycampion f67a500
setup for prettier in other ticket
gerrycampion 128fa06
rule deploy tester on push to main
gerrycampion 7e04bc1
run test suite on push to main
gerrycampion 1f49bca
update lint checker for prettier
gerrycampion 8589276
fix permissions
gerrycampion 150d33c
Merge branch 'main' into 1604-automated-ci-workflows-should-run-on-pu…
SFJohnson24 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,75 @@ | ||
| name: Check Lint and Format | ||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| get_changed_files: | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| py: ${{ steps.changes.outputs.py_all_changed_files }} | ||
| pretty: ${{ steps.changes.outputs.pretty_all_changed_files }} | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Get changed files | ||
| id: changes | ||
| uses: tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4 | ||
| with: | ||
| files_yaml: | | ||
| py: | ||
| - '**.py' | ||
| pretty: | ||
| - '**.json' | ||
| - '**.md' | ||
| - '**.yaml' | ||
| - '**.yml' | ||
| separator: " " | ||
|
|
||
| check_python_files: | ||
| runs-on: ubuntu-latest | ||
| needs: get_changed_files | ||
| # only run if there are changed files | ||
| if: ${{needs.get_changed_files.outputs.py}} | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: "3.12" | ||
| - name: Install linters | ||
| run: | | ||
| pip install black flake8 -c requirements-dev.txt | ||
| - name: Run flake8 | ||
| run: | | ||
| flake8 ${{needs.get_changed_files.outputs.py}} --count --select=E9,F63,F7,F82 --show-source --statistics | ||
| flake8 ${{needs.get_changed_files.outputs.py}} --ignore E203,W503 --count --statistics | ||
| - name: Run black | ||
| run: | | ||
| black --check ${{needs.get_changed_files.outputs.py}} | ||
|
|
||
| check_prettier_files: | ||
|
||
| runs-on: ubuntu-latest | ||
| needs: get_changed_files | ||
| # only run if there are changed files | ||
| if: ${{needs.get_changed_files.outputs.pretty}} | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
| - uses: actions/setup-node@v6 | ||
| - name: Run prettier | ||
| run: | | ||
| npm i prettier | ||
| npx prettier --check ${{needs.get_changed_files.outputs.pretty}} | ||
|
||
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.