Skip to content

Commit 7653f0f

Browse files
committed
Add manual workflow for release comment action
1 parent c6a954f commit 7653f0f

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Used to manually trigger the release comments workflow
2+
3+
name: 💬 Release Comment
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
dryRun:
8+
description: "Should this be a dry run? (true/false)"
9+
type: "boolean"
10+
required: true
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
env:
17+
CI: true
18+
19+
jobs:
20+
comment:
21+
name: 📝 Comment on related issues and pull requests
22+
if: github.repository == 'remix-run/react-router'
23+
runs-on: ubuntu-latest
24+
permissions:
25+
issues: write # enable commenting on released issues
26+
pull-requests: write # enable commenting on released pull requests
27+
steps:
28+
- name: ⬇️ Checkout repo
29+
uses: actions/checkout@v6
30+
with:
31+
fetch-depth: 0
32+
33+
# IMPORTANT: if you make changes here, also make them in release.yml
34+
- name: 📝 Comment on related issues and pull requests
35+
uses: remix-run/[email protected]
36+
with:
37+
DRY_RUN: ${{ github.event.inputs.dryRun }}
38+
DIRECTORY_TO_CHECK: "./packages"
39+
PACKAGE_NAME: "react-router"
40+
ISSUE_LABELS_TO_REMOVE: "awaiting release"
41+
ISSUE_LABELS_TO_KEEP_OPEN: "🗺 Roadmap"

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ jobs:
128128
with:
129129
fetch-depth: 0
130130

131+
# IMPORTANT: if you make changes here, also make them in release-comment-manual.yml
131132
- name: 📝 Comment on related issues and pull requests
132133
uses: remix-run/[email protected]
133134
with:

0 commit comments

Comments
 (0)