-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathcreate-meeting-artifacts-manual.yml
More file actions
82 lines (74 loc) · 2.45 KB
/
create-meeting-artifacts-manual.yml
File metadata and controls
82 lines (74 loc) · 2.45 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: Create Meeting Artifacts (Manual)
on:
workflow_dispatch:
inputs:
meeting_group:
description: 'Meeting group to create artifacts for'
required: true
type: choice
options:
- benchmarking
- build
- cross_project_council
- diag
- diag_deepdive
- ecosystem_report
- loaders
- modules
- next-10
- outreach
- package-maintenance
- package_metadata_interop
- Release
- security-wg
- security_collab
- standards
- sustainability_collab
- tsc
- tooling
- typescript
- uvwasi
- userfeedback
- web-server-frameworks
jobs:
create-artifacts:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Read Meeting Variables
id: read-vars
run: |
meeting_group="${{ github.event.inputs.meeting_group }}"
user=$(grep '^USER=' "templates/meeting_base_${meeting_group}" | cut -d'=' -f2 | xargs)
echo "user=$user" >> $GITHUB_OUTPUT
- name: Create GitHub App Token
uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
id: app-token
with:
app-id: ${{ secrets.BOT_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
owner: ${{ steps.read-vars.outputs.user }}
- name: Create meeting artifacts
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
HACKMD_API_TOKEN: ${{ secrets.HACKMD_API_TOKEN }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
run: node create-node-meeting-artifacts.mjs ${{ github.event.inputs.meeting_group }}
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: meeting-artifacts-${{ github.event.inputs.meeting_group || 'tsc' }}
path: |
~/.make-node-meeting/
*.md
retention-days: 7
if-no-files-found: ignore