Skip to content

fix(ci): declare permissions at the top-level (#83) #28

fix(ci): declare permissions at the top-level (#83)

fix(ci): declare permissions at the top-level (#83) #28

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/web-team' &&
github.actor != 'github-merge-queue[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: ./actions/notify-on-push
with:
webhook: ${{ secrets.SLACK_WEBHOOK }}