diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45c2b80..a46aec7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,9 +1,6 @@ name: 'Continuous Testing' on: - pull_request: - branches: - - main push: permissions: @@ -59,7 +56,6 @@ jobs: permissions: checks: write pull-requests: write - if: ((github.event_name == 'pull_request') && (github.base_ref == 'main')) || ((github.event_name == 'push') && (github.ref == 'refs/heads/main')) steps: - name: Checkout id: checkout diff --git a/action.yml b/action.yml index 1bc5bbc..6ec1d78 100644 --- a/action.yml +++ b/action.yml @@ -16,4 +16,4 @@ runs: shell: bash run: | pip install jinja2-cli - find . -name '*.j2' -exec ./process_file.sh {} \; + find . -name '*.j2' -exec ${{github.action_path}}/process_file.sh {} \;