-
-
Notifications
You must be signed in to change notification settings - Fork 670
28 lines (27 loc) · 818 Bytes
/
comment-run.yml
File metadata and controls
28 lines (27 loc) · 818 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
name: "Comment run"
on:
issue_comment:
types: [created, edited]
jobs:
comment-run:
runs-on: ubuntu-20.04
steps:
- name: Install emojis
run: sudo apt install fonts-noto-color-emoji
- name: Update NPM
run: sudo npm install -g npm@10.1.0
- name: Set npm token
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- uses: actions/checkout@v2
with:
# 0 indicates all history
fetch-depth: 0
- uses: nwtgck/actions-comment-run@v1.1.3
with:
github-token: ${{ secrets.CUSTOM_GH_TOKEN }}
allowed-associations: '["OWNER", "MEMBER"]'
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{ secrets.CUSTOM_GH_TOKEN }}
GIT_USER: smashah
GIT_PASS: ${{ secrets.CUSTOM_GH_TOKEN }}