Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/pr-merge-reminder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: PR Merge Alignment Reminder

on:
pull_request:
types: [opened]

jobs:
add-reminder-comment:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Add merge alignment reminder
uses: actions/github-script@v7
with:
script: |
const body = [
'## 🔗 Merge Alignment Reminder',
'',
'If this PR targets `main`, please make sure the corresponding changes in **[unity-explorer](https://github.com/decentraland/unity-explorer/)** are also ready to merge.',
'',
'Both repos should be merged in coordination to avoid breaking changes. **Do not merge one without the other being ready.**',
].join('\n');

await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body,
});
Loading