diff options
-rw-r--r-- | .github/workflows/workflow.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 881e9ce..b97ca8b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -17,7 +17,9 @@ jobs: cd scripts npm install npm run main -- "https://github.com/${{ github.repository }}/blob/${GITHUB_REF##*/}/" ../README.md ../README.md - cd .. + - name: Set environment variables + run: | + set +e # need to disable this git diff --exit-code -s README.md echo "has_diff=$?" >> $GITHUB_ENV - name: create PR |