-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: don't try to automerge Dependabot PRs
- It's not working at the moment - The security risk isn't worth the benefit for this repo
- Loading branch information
Showing
2 changed files
with
12 additions
and
53 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,22 @@ | ||
name: test | ||
|
||
on: | ||
workflow_call: | ||
outputs: | ||
pr_number: | ||
description: "The PR number" | ||
value: ${{ jobs.test.outputs.pr_number }} | ||
push: | ||
pull_request: | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-go-1-17: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17' | ||
- uses: actions/checkout@v2 | ||
- run: make ginkgo | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17' | ||
- uses: actions/checkout@v2 | ||
- run: make ginkgo | ||
test-go-1-16: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.16' | ||
- uses: actions/checkout@v2 | ||
- run: make test | ||
automerge: | ||
needs: test-go-1-16 | ||
if: ${{ success() && github.actor == 'dependabot[bot]' }} | ||
uses: cloudfoundry/jsonry/.github/workflows/dependabot-merge.yml | ||
with: | ||
pr_number: ${{ github.event.number }} | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.16' | ||
- uses: actions/checkout@v2 | ||
- run: make test | ||
|