Skip to content

Commit

Permalink
fix github killing the script unintentionally
Browse files Browse the repository at this point in the history
  • Loading branch information
takase1121 committed Jan 20, 2022
1 parent de7a38f commit d11c8e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d11c8e2

Please sign in to comment.