From 401b6cc8dea0f92512564e29bad7edd39da5e9f0 Mon Sep 17 00:00:00 2001 From: Juan Molteni Date: Fri, 3 Apr 2026 07:19:03 -0300 Subject: [PATCH] Add PR merge alignment reminder workflow Adds a GitHub Action that comments on newly opened PRs with a reminder to coordinate merges with the unity-explorer repo. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/pr-merge-reminder.yml | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/pr-merge-reminder.yml diff --git a/.github/workflows/pr-merge-reminder.yml b/.github/workflows/pr-merge-reminder.yml new file mode 100644 index 0000000..413a59e --- /dev/null +++ b/.github/workflows/pr-merge-reminder.yml @@ -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, + });