diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 384c319..5075b95 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -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 + + diff --git a/.github/workflows/pr-auditor.yml b/.github/workflows/pr-auditor.yml new file mode 100644 index 0000000..3edc274 --- /dev/null +++ b/.github/workflows/pr-auditor.yml @@ -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 }}