forked from SAP/ui5-webcomponents
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 988 Bytes
/
issues-handling.yaml
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
name: GitHub Issues - auto-comment on issues [WIP]
on: workflow_dispatch
jobs:
test-issue-comment:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
issues: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
fetch-depth: 0
- uses: actions/[email protected]
with:
node-version: 20
cache: 'yarn'
- name: Install
run: yarn --frozen-lockfile
- name: Publish Release Comments
uses: actions/github-script@v7
env:
NODE_OPTIONS: '--max-old-space-size=12096'
GH_TOKEN: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
with:
github-token: ${{ secrets.UI5_WEBCOMP_BOT_GH_TOKEN }}
script: |
const commentOnFixedIssues = (await import('${{ github.workspace }}/.github/actions/commentOnFixedIssues.mjs')).default;
await commentOnFixedIssues({ github , context });