fix(ci): skip workflow publish when no packages found (#8454) #661
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - main | |
| name: Notify on Push | |
| permissions: | |
| contents: read | |
| jobs: | |
| notify_on_push: | |
| name: Notify on any direct push to `main` | |
| if: > | |
| github.repository == 'nodejs/nodejs.org' && | |
| github.actor != 'github-merge-queue[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: nodejs/web-team/actions/notify-on-push@2c2897a93eb99b4cdca270729100bc0887c758d9 | |
| with: | |
| webhook: ${{ secrets.SLACK_WEBHOOK }} |