Skip to content

Commit 2322886

Browse files
committed
Collapse release-comment into release
1 parent 42e940c commit 2322886

File tree

2 files changed

+14
-24
lines changed

2 files changed

+14
-24
lines changed

.github/workflows/release-comments.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# - Trigger: workflow_dispatch
1515
# - jobs: release-experimental
1616

17-
name: Release
17+
name: 🚢 Release
1818
on:
1919
# Changesets-driven prereleases and stable releases
2020
push:
@@ -125,10 +125,22 @@ jobs:
125125
name: 📝 Comment on related issues and pull requests
126126
if: github.repository == 'remix-run/react-router' && github.event_name == 'push' && github.ref_name != 'release-v6' && needs.find_package_version.outputs.package_version != ''
127127
needs: [release, find_package_version]
128+
runs-on: ubuntu-latest
128129
permissions:
129130
issues: write # enable commenting on released issues
130131
pull-requests: write # enable commenting on released pull requests
131-
uses: ./.github/workflows/release-comments.yml
132+
steps:
133+
- name: ⬇️ Checkout repo
134+
uses: actions/checkout@v5
135+
with:
136+
fetch-depth: 0
137+
138+
- name: 📝 Comment on related issues and pull requests
139+
uses: remix-run/[email protected]
140+
with:
141+
DIRECTORY_TO_CHECK: "./packages"
142+
PACKAGE_NAME: "react-router"
143+
ISSUE_LABELS_TO_REMOVE: "awaiting release"
132144

133145
# HEADS UP! this "nightly" job will only ever run on the `main` branch due to
134146
# it being a cron job, and the last commit on main will be what github shows

0 commit comments

Comments
 (0)