Skip to content

Lock file maintenance #141

Lock file maintenance

Lock file maintenance #141

name: Post link to public end-to-end test repository
on:
pull_request_target:
types:
- opened
jobs:
test:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- run: |
gh pr comment ${LINK} --body-file - <<EOF
[End-to-end public repo](https://github.com/mihcaojwe/python-coverage-comment-action-end-to-end-${NUMBER}-public)
Admin commands cheatsheet:
- \`/e2e\` (in approved PR review body): Trigger end-to-end tests on external contributions
- \`/invite\` (in comment): Invite the author & admins to the end-to-end private repo
EOF
env:
LINK: ${{ github.event.pull_request.html_url }}
NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}