name: PR Info (pre-comment)

on:
  # NOTE: high probability for security vulnerabilities if doing ANYTHING in
  # this file other than commenting something!
  pull_request_target:
    branches:
      - master
      - stable

permissions:
  pull-requests: write

jobs:
  intro_comment:
    name: Make intro comment
    runs-on: ubuntu-latest
    steps:
    - name: 'Prepare sticky comment'
      uses: marocchino/sticky-pull-request-comment@v2.9.0
      with:
        message: |
          Thanks for your Pull Request and making D better!

          This comment will automatically be updated to summarize some statistics in a few minutes.
        only_create: true
