diff --git a/.github/workflows/scheduled_update.yaml b/.github/workflows/scheduled_update.yaml index 3427380..e977bde 100644 --- a/.github/workflows/scheduled_update.yaml +++ b/.github/workflows/scheduled_update.yaml @@ -25,6 +25,8 @@ jobs: - run: npm install - run: npm run build - run: | + set -ex + git diff --name-only if [ $(git diff --name-only | wc -l) -gt 0 ]; then tag=$(jq -r '.version' package.json) # The GH api only allows for single file commits right now @@ -44,6 +46,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + needs: update env: GH_TOKEN: ${{ github.token }} steps: