Unverified Commit 5baba818 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[ci] Enable PR comment in any repo (#99315)

This comment is just as valuable in the mirror.

Forks disable GH Actions by default nowadays. Individual workflows can
also be disabled. That avenue should be chosen instead of hardcoding
disablement in the workflow file.
parent 1bf5bf76
...@@ -13,7 +13,7 @@ permissions: ...@@ -13,7 +13,7 @@ permissions:
jobs: jobs:
comment: comment:
name: Comment on PR name: Comment on PR
if: ${{ github.event.workflow_run.event == 'pull_request' && github.repository == 'vercel/next.js' }} if: ${{ github.event.workflow_run.event == 'pull_request' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment