Skip to content

Commit

Permalink
build: don't try to automerge Dependabot PRs
Browse files Browse the repository at this point in the history
- It's not working at the moment
- The security risk isn't worth the benefit for this repo
  • Loading branch information
blgm committed Apr 15, 2022
1 parent 32d9ab1 commit e072eda
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 53 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/dependabot-merge.yml

This file was deleted.

36 changes: 12 additions & 24 deletions .github/workflows/test.yml
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

0 comments on commit e072eda

Please sign in to comment.