diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index b9a99ef..eb102ba 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -19,22 +19,53 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Check if python changes are present + id: check + env: + GITHUB_REPO: ${{ github.repository }} + PR_NUMBER: ${{ github.event.pull_request.number }} + + continue-on-error: true + run: | + URL="https://api.github.com/repos/${GITHUB_REPO}/pulls/${PR_NUMBER}/files" + FILES=$(curl -s -X GET -G $URL | jq -r '.[] | .filename') + + cat<