aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/workflow.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/workflow.yml')
-rw-r--r--.github/workflows/workflow.yml4
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