Skip to content

Adding actions steps to workflow file #3

Adding actions steps to workflow file

Adding actions steps to workflow file #3

Workflow file for this run

name: Post welcome comment
on:
pull_request:
types: [opened]
permissions:
pull-requests: write
name: Post welcome comment
on:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/welcome.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
pull_request:
types: [opened]
permissions:
pull-requests: write
jobs:
build:
name: Post welcome comment
runs-on: ubuntu-latest
name: Post welcome comment
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 }}