forked from RocketChat/Rocket.Chat
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 948 Bytes
/
pr-update-description.yml
File metadata and controls
38 lines (31 loc) · 948 Bytes
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: 'Release PR Description'
on:
pull_request:
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
update-pr:
runs-on: ubuntu-24.04
if: startsWith(github.head_ref, 'release-')
steps:
- name: Checkout Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
token: ${{ secrets.CI_PAT }}
- name: Setup NodeJS
uses: ./.github/actions/setup-node
with:
cache-modules: true
install: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: rharkor/caching-for-turbo@2f61e9bebb2f51f2ed041ce70377b0f81b3b1e0d # v2.4.1
- name: Build packages
run: yarn build
- name: Update PR description
uses: ./packages/release-action
with:
action: update-pr-description
env:
GITHUB_TOKEN: ${{ secrets.CI_PAT }}