Make Change Comment #24
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: Make Change Comment | |
on: | |
workflow_run: | |
workflows: ["Check Changes"] | |
types: | |
- completed | |
permissions: | |
pull-requests: write | |
jobs: | |
commenter: | |
if: ${{ github.actor != 'dependabot[bot]' && !startsWith(github.head_ref, 'publish/') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
with: | |
name: comment | |
run-id: ${{github.event.workflow_run.id }} | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
- uses: ./.github/actions/setup | |
- run: pnpm install | |
name: Install dependencies | |
- run: pnpm chronus-github-pr-commenter --comment-file comment.json | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
name: Create/update comment |