aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/on-commit.yml16
-rw-r--r--test.py0
2 files changed, 0 insertions, 16 deletions
diff --git a/.github/workflows/on-commit.yml b/.github/workflows/on-commit.yml
index e429651..2b6061c 100644
--- a/.github/workflows/on-commit.yml
+++ b/.github/workflows/on-commit.yml
@@ -6,23 +6,7 @@ on:
- 'main'
jobs:
- check-if-py-files-exist:
- runs-on: ubuntu-latest
- outputs:
- py_files_exist: ${{ steps.check.outputs.py_files_exist }}
- steps:
- - uses: actions/checkout@v2
- - id: check_files
- run: |
- if [ -n "$(find . -name '*.py')" ]; then
- echo "::set-output name=py_files_exist::true"
- else
- echo "::set-output name=py_files_exist::false"
- fi
-
quality-checks:
- needs: check-if-py-files-exist
- if: ${{ needs.check-if-py-files-exist.outputs.py_files_exist == 'true' }}
runs-on: ubuntu-latest
steps:
- uses : actions/checkout@v2
diff --git a/test.py b/test.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test.py
git.ajschof.me — hosted by ajschofield — powered by cgit