Skip to content

Bump @types/node from 20.8.10 to 20.11.4 #778

Bump @types/node from 20.8.10 to 20.11.4

Bump @types/node from 20.8.10 to 20.11.4 #778

Workflow file for this run

name: Comment on Every Pull Request
on: [push, pull_request]
# NOTE: This is possibly insecure; it allows Dependabot to comment on a PR, the point of this run.
# @see: https://github.blog/changelog/2021-10-06-github-actions-workflows-triggered-by-dependabot-prs-will-respect-permissions-key-in-workflows/
permissions:
pull-requests: write
jobs:
add-pr-comment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Find Pull Request
id: find-pr
uses: ./ # run against self
with:
failIfNotFound: ${{ github.event_name == 'pull_request' }} # Fail for a PR, not for a push
# Do not debug the body as it will break things!
- name: Debug
run: |
echo number: ${{ steps.find-pr.outputs.number }}
echo url: ${{ steps.find-pr.outputs.url }}
echo title: ${{ steps.find-pr.outputs.title }}
echo base-ref: ${{ steps.find-pr.outputs.base-ref }}
echo base-sha: ${{ steps.find-pr.outputs.base-sha }}
- name: Comment on the found Pull Request
if: steps.find-pr.outputs.number != ''
uses: marocchino/sticky-pull-request-comment@v2
with:
header: comment # basically a key to reuse the same comment
number: ${{ steps.find-pr.outputs.number }}
message: |
:tada: I added a comment!
- number: ${{ steps.find-pr.outputs.number }}
- url: ${{ steps.find-pr.outputs.url }}
- title: ${{ steps.find-pr.outputs.title }}
- base-ref: ${{ steps.find-pr.outputs.base-ref }}
- base-sha: ${{ steps.find-pr.outputs.base-sha }}
<details>
<summary>click to view body</summary>
${{ steps.find-pr.outputs.body }}
</details>