forked from remix-run/remix
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 967 Bytes
/
release-comments.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: 📝 Comment on Release
on:
workflow_call:
inputs:
ref:
required: true
type: string
version:
required: true
type: string
jobs:
comment:
name: Comment on Release
if: github.repository == 'remix-run/remix'
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "yarn"
- name: 📥 Install deps
# even though this is called "npm-install" it does use yarn to install
# because we have a yarn.lock and caches efficiently.
uses: bahmutov/npm-install@v1
- name: 📝 Comment on issues
run: node ./scripts/release/comment.mjs
env:
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_TOKEN: ${{ github.token }}
VERSION: ${{ inputs.ref }}