Skip to content

Bump globals from 15.15.0 to 16.0.0 (#25989) #248

Bump globals from 15.15.0 to 16.0.0 (#25989)

Bump globals from 15.15.0 to 16.0.0 (#25989) #248

name: Ping other repos
# This workflow exists for this use case: When another repo wants to take
# some action each time an MDN PR is merged and a change is pushed to the
# MDN main branch. For example, other repos that pull in content directly
# from MDN as part of their own builds might want to automatically re-run
# their repo build scripts each time a change is pushed to MDN upstream.
#
# https://github.com/mdn/content/blob/main/.github/workflows/ping-other-repos.yml
# has the MDN content equivalent of this workflow.
on:
push:
branches:
- main
permissions:
contents: read
jobs:
ping:
runs-on: ubuntu-latest
# Don't run in forks, or when Dependabot merges a PR.
if: |
github.repository == 'mdn/browser-compat-data' &&
github.triggering_actor != 'dependabot[bot]'
steps:
- name: Ping w3c/mdn-spec-links
# This is one of many possible repos we can ping. When adding other
# repos, you can follow this w3c/mdn-spec-links one as an example.
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0
with:
token: ${{ secrets.SIDESHOWBARKER }}
repository: w3c/mdn-spec-links
event-type: ping
client-payload: '{"repository": "${{ github.repository }}", "ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'