Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Test plan

<!--
As part of SOC2/GN-104 and SOC2/GN-105 requirements, all pull requests are REQUIRED to
provide a "test plan". A test plan is a loose explanation of what you have done or
implemented to test this, as outlined in our Testing principles and guidelines:
https://docs.sourcegraph.com/dev/background-information/testing_principles
Write your test plan here after the "Test plan" header.
-->
19 changes: 19 additions & 0 deletions .github/workflows/pr-auditor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: pr-auditor
on:
pull_request:
types: [ closed, edited, opened ]

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with: { repository: 'sourcegraph/sourcegraph' }
- uses: actions/setup-go@v2
with: { go-version: '1.17' }

- run: ./dev/pr-auditor/check-pr.sh
env:
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
GITHUB_TOKEN: ${{ secrets.CODENOTIFY_GITHUB_TOKEN }}
GITHUB_RUN_URL: https://github.com/sourcegraph/infrastructure/actions/runs/${{ github.run_id }}