Issue Comments #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Issue Comments' | |
on: | |
workflow_dispatch: | |
jobs: | |
issue-comment: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.ACCESS_TOKEN }} | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: | | |
yarn install --immutable | |
env: | |
CYPRESS_INSTALL_BINARY: 0 | |
### Semantic Release Bot comments for issues and PRs ### | |
- name: Add release comments to issues and PRs | |
uses: actions/github-script@v6 | |
env: | |
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
with: | |
script: | | |
const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs'); | |
await addIssueComments({ github, context }) |