github.com/vmware/govmomi@v0.51.0/.github/workflows/issue-greeting.yaml (about)

     1  name: Greeting
     2  
     3  permissions:
     4    issues: write
     5    contents: read
     6  
     7  on:
     8    issues:
     9      types: opened
    10  
    11  jobs:
    12    greeting:
    13      name: Send Greeting
    14      runs-on: ubuntu-latest
    15      if: github.event.issue.author_association == 'NONE'
    16  
    17      steps:
    18        - name: Checkout Repository
    19          uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
    20          with:
    21            fetch-depth: 1
    22  
    23        - name: Render Template
    24          id: template
    25          uses: chuhlomin/render-template@807354a04d9300c9c2ac177c0aa41556c92b3f75 # v1.10
    26          with:
    27            template: .github/comment-template.md
    28            vars: |
    29              author: ${{ github.actor }}
    30  
    31        - name: Create Comment
    32          uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.1.0
    33          with:
    34            issue-number: ${{ github.event.issue.number }}
    35            body: ${{ steps.template.outputs.result }}