-
-
Notifications
You must be signed in to change notification settings - Fork 545
32 lines (28 loc) · 888 Bytes
/
notify-released-issues.yml
File metadata and controls
32 lines (28 loc) · 888 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: Notify released issues
on:
workflow_call:
inputs:
release_tag:
type: string
required: true
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Get released issues
id: get-released-issues
run:
echo "issues=$(python ./.github/workflows/notify_released_issues/get_closed_issues.py ${{ inputs.release_tag }})" >> "$GITHUB_OUTPUT"
- uses: actions/github-script@v9
env:
CLOSED_ISSUES: ${{ steps.get-released-issues.outputs.issues }}
with:
script: |
const script = require('./.github/workflows/notify_released_issues/notify.js')
await script({github, context, core})