mirror of
https://github.com/RustyRaptor/deploy-sourcegraph-docker.git
synced 2026-12-03 15:55:17 -07:00
workflows: add pr-auditor and test plans to PR templates (#769)
Co-authored-by: Sourcegraph <batch-changes@sourcegraph.com>
This commit is contained in:
1 parent
e8a2eac629
commit
85d1b86888
2 files changed
+28
No files matched your search
@@ -9,3 +9,12 @@
|
||||
-->
|
||||
* [ ] Sister [deploy-sourcegraph](https://github.com/sourcegraph/deploy-sourcegraph) change:
|
||||
* [ ] All images have a valid tag and SHA256 sum
|
||||
### 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.
|
||||
-->
|
||||
@@ -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 }}
|
||||
Reference in new issue
Block a user