diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 881e9ce3..b97ca8b3 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