-
-
Notifications
You must be signed in to change notification settings - Fork 35.1k
32 lines (28 loc) · 927 Bytes
/
post-release.yml
File metadata and controls
32 lines (28 loc) · 927 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
name: Post-Release actions
on:
workflow_dispatch:
inputs:
version:
description: The version to generate a blog post for.
type: string
required: true
release:
types: [released]
permissions:
contents: read
jobs:
post-release-actions:
if: github.repository == 'nodejs/node'
runs-on: ubuntu-slim
steps:
- name: Trigger update-links workflow on nodejs/release-cloudflare-worker
run: |
gh workflow run update-links.yml --repo nodejs/release-cloudflare-worker
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
- name: Trigger create-release-post workflow on nodejs/nodejs.org
run: |
gh workflow run create-release-post.yml --repo nodejs/nodejs.org -f version=$VERSION
env:
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
VERSION: ${{ inputs.version || github.event.release.tag_name }}