message: fix(workflows/update-webref): conditional run
diff: @@ -5,10 +5,13 @@ on:
  # https://crontab.guru/#5_8_*_*_*
  - cron: "5 8 * * *"
  +# Conditional runs
  +# https://stackoverflow.com/a/61832535/2460034
  jobs:
  - test:
  + update-webref:
  runs-on: ubuntu-latest
  -
  + outputs:
  + status: steps.run-update-webref.conclusion
  steps:
  - uses: actions/checkout@v2
  - uses: actions/setup-node@v1
  @@ -16,10 +19,15 @@ jobs:
  node-version: '15'
  - run: npm ci
  - - run: npm run update-webref || exit
  - - run: npm run build && npm run baseline-accept
  - - run: git diff --quiet HEAD baselines && exit
  + - id: run-update-webref
  + run: npm run update-webref
  + rebuild:
  + runs-on: ubuntu-latest
  + needs: update-webref
  + if: needs.check.outputs.status == 'success'
  + steps:
  + - run: npm run build && npm run baseline-accept
  - uses: peter-evans/create-pull-request@v3
  with:
  commit-message: "chore(package): update webref"
  