Skip to content

Commit

Permalink
Merge pull request #13 from dnnrly/feature/contributer-checks
Browse files Browse the repository at this point in the history
Allow contributors to run checks on PRs
  • Loading branch information
dnnrly authored Apr 18, 2022
2 parents e20bf68 + 1a6876d commit 2e90759
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ Please describe the tests that you ran to verify your changes. Provide instructi
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] New and existing tests pass locally with my changes (`make test lint build acceptance-test`)
- [ ] I have rebased my branch to include the latest changes from `master`
13 changes: 8 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: Validate for PR
on: push
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
validate:
name: Validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.17'
Expand All @@ -26,8 +31,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v2
with:
go-version: '1.17'
Expand All @@ -36,4 +39,4 @@ jobs:
with:
distribution: goreleaser
version: latest
args: build --rm-dist --skip-validate
args: build --rm-dist --skip-validate --snapshot

0 comments on commit 2e90759

Please sign in to comment.