Skip to content

Update actions/github-script action to v7 #6

Update actions/github-script action to v7

Update actions/github-script action to v7 #6

Workflow file for this run

name: Community PR notice
on:
workflow_dispatch:
# pull_request_target:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
welcome:
runs-on: ubuntu-latest
name: Welcome comment
if: github.event.pull_request.fork == null
steps:
- name: Add auto-generated commit warning
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Test comment`
})