Skip to content

Create action.txt

Create action.txt #6

Workflow file for this run

name: Post welcome comment

Check failure on line 1 in .github/workflows/welcome.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/welcome.yml

Invalid workflow file

`permissions` is not a valid event name
on:
pull_request:
types: [opened]
permissions:
pull_requests: write
jobs:
build:
name: Post welcome comment
runs-on: ubuntu-latest
steps:
- run: gh pr comment $PR_URL --body "Welcome to the repository!"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}