Skip to content

Commit

Permalink
Merge pull request #34 from sourcegraph/add-pr-auditor-and-test-plan
Browse files Browse the repository at this point in the history
workflows: add pr-auditor and test plans to PR templates
  • Loading branch information
olafurpg authored Mar 2, 2022
2 parents d0c4b2a + b3b2a68 commit 9909418
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
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 }}

0 comments on commit 9909418

Please sign in to comment.