Add Git Level 1 basics + Git workflow project #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Acknowledge Pull Request | |
| on: | |
| pull_request: | |
| types: [opened] | |
| jobs: | |
| acknowledge-pr: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Post acknowledgement comment | |
| uses: actions/github-script@v7 | |
| with: | |
| script: | | |
| github.rest.issues.createComment({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.payload.pull_request.number, | |
| body: `Thanks for opening this pull request. | |
| I’ve received it and will review the changes shortly.' | |
| }); |