Remove UserPromptSubmit hooks from settings.json #8
Workflow file for this run
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: Welcome New Pull Requests | |
| on: | |
| pull_request: | |
| types: [opened] | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| welcome: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π Mask GitHub Token | |
| run: echo "::add-mask::${{ secrets.GITHUB_TOKEN }}" | |
| - name: Post welcome message π¨ | |
| uses: actions/github-script@v5 | |
| with: | |
| script: | | |
| const pr_number = context.payload.pull_request.number; | |
| const repo = context.repo.repo; | |
| const owner = context.repo.owner; | |
| const body = ':tada: :sparkles: Thanks for opening this pull request! We will reviewπ§ it soon. :rocket:'; | |
| await github.rest.issues.createComment({ | |
| owner, | |
| repo, | |
| issue_number: pr_number, | |
| body | |
| }); | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |