Skip to content

chore: bump wrangler from 4.6.0 to 4.8.0 (#374) #77

chore: bump wrangler from 4.6.0 to 4.8.0 (#374)

chore: bump wrangler from 4.6.0 to 4.8.0 (#374) #77

name: Notify on Push
on:
push:
branches:
- main
permissions:
contents: read
jobs:
notify-on-push:
name: Notify on any direct push to `main`
if: >
github.repository == 'nodejs/release-cloudflare-worker' &&
github.event.forced
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
with:
egress-policy: audit
- name: Slack Notification
uses: rtCamp/action-slack-notify@c33737706dea87cd7784c687dadc9adf1be59990 # 2.3.2
env:
SLACK_COLOR: '#DE512A'
SLACK_ICON: https://github.com/nodejs.png?size=48
SLACK_TITLE: ${{ github.actor }} directly pushed to ${{ github.ref }}
SLACK_MESSAGE: |
A commit was directly pushed to <https://github.com/${{ github.repository }}/tree/${{ github.ref_name }}|${{ github.repository }}@${{ github.ref_name }}> by <https://github.com/${{ github.actor }}|${{ github.actor }}>
Before: <https://github.com/${{ github.repository }}/commit/${{ github.event.before }}|${{ github.event.before }}>
After: <https://github.com/${{ github.repository }}/commit/${{ github.event.after }}|${{ github.event.after }}>
SLACK_USERNAME: nodejs-bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}