diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 59ec2c8..4391e50 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -5,3 +5,12 @@ on: 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 }}