-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #738 from shinybrar/main
Build + Pre-Commit Fixes
- Loading branch information
Showing
14 changed files
with
78 additions
and
35 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 |
---|---|---|
|
@@ -5,9 +5,6 @@ on: | |
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release-please: | ||
|
@@ -24,7 +21,7 @@ jobs: | |
- | ||
name: Dispatch Edge Build | ||
# Run this step only if the release-please completes successfully | ||
if: steps.release-please.outcome == 'success' | ||
if: steps.release-please.outcome == 'success' && github.event_name == 'push' | ||
uses: peter-evans/[email protected] | ||
with: | ||
repository: opencadc/science-platform | ||
|
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,56 @@ | ||
# Pre-Commit Configuration File: https://pre-commit.com | ||
--- | ||
repos: | ||
# Commitizen Configuration | ||
# This configuration will add commitizen to your pre-commit hooks and will run it on commit-msg stage | ||
# of the git commit process. | ||
- repo: https://github.com/commitizen-tools/commitizen | ||
rev: v3.31.0 | ||
hooks: | ||
- id: commitizen | ||
stages: [commit-msg] | ||
# Pre-Commit Hooks Configuration | ||
# This configuration will add pre-commit hooks to your pre-commit hooks and will run it on pre-commit stage | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v5.0.0 | ||
hooks: | ||
# Prevent giant files from being committed. | ||
- id: check-added-large-files | ||
# Check for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT. | ||
- id: check-case-conflict | ||
# Checks that non-binary executables have a proper shebang. | ||
- id: check-executables-have-shebangs | ||
# Attempts to load all json files to verify syntax. | ||
- id: check-json | ||
# Check for files that contain merge conflict strings. | ||
- id: check-merge-conflict | ||
# Checks for symlinks which do not point to anything. | ||
- id: check-symlinks | ||
# Attempts to load all TOML files to verify syntax. | ||
- id: check-toml | ||
# Attempts to load all yaml files to verify syntax. | ||
- id: check-yaml | ||
# Attempts to load all xml files to verify syntax. | ||
- id: check-xml | ||
# Check for debugger imports and py37+ breakpoint() calls in python source. | ||
- id: debug-statements | ||
# Makes sure files end in a newline and only a newline. | ||
- id: end-of-file-fixer | ||
# Trims trailing whitespace. | ||
- id: trailing-whitespace | ||
# Checks for private key files. | ||
- id: detect-private-key | ||
- repo: local | ||
hooks: | ||
- id: gradle-build | ||
name: Skaha Gradle Build | ||
entry: /bin/bash | ||
args: | ||
- -c | ||
- | | ||
cd skaha | ||
./gradlew clean check | ||
language: system | ||
pass_filenames: false | ||
always_run: true | ||
verbose: true |
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without 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
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