Publish Latest 2023-09-19 #286
Workflow file for this run
This file contains 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: PR Comment | |
on: | |
pull_request_target: | |
types: | |
- opened | |
jobs: | |
PR-Comment: | |
if: github.actor != 'kingthorin' && github.actor != 'wstgbot' && github.actor != 'ThunderSon' && github.actor != 'rejahrehim' && github.actor != 'victoriadrake' | |
runs-on: ubuntu-latest | |
steps: | |
- name: PR Comment | |
uses: actions/github-script@v2 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
github.issues.createComment({ | |
issue_number: ${{ github.event.number }}, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: ':warning: Have you followed the [contributions guideance](https://owasp.org/www-project-web-security-testing-guide/#contributions)? Content PRs should generally be made against the the [source repo `OWASP/wstg`](https://github.com/OWASP/wstg).' | |
}) |