add comment id (#57)

* add comment id

* add output to action.yml
This commit is contained in:
Michael Shick 2022-11-05 08:45:45 -04:00 committed by GitHub
parent d26bdc4f91
commit 2fe3ecef03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 35 deletions

View file

@ -32,31 +32,30 @@ jobs:
run: |
npm test
# dogfood:
# name: Dogfood
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repo
# uses: actions/checkout@v3
dogfood:
name: Dogfood
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
# - name: Setup node.js
# uses: actions/setup-node@v3
# with:
# node-version: 16
- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version: 16
# - name: Install dependencies
# run: |
# npm ci
- name: Install dependencies
run: |
npm ci
# - name: Build action
# run: |
# npm run build
- name: Build action
run: |
npm run build
# - name: Add Comment
# uses: ./
# with:
# message: |
# **It works!**
# proxy-url: https://add-pr-comment-proxy-73luvmwygq-uc.a.run.app
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# repo-token-user-login: "github-actions[bot]"
- uses: mshick/add-pr-comment@v2
with:
message: |
**Hello**
🌏
!
repo-token: ${{ secrets.GITHUB_TOKEN }}