Skip to content

Commit

Permalink
Merge pull request #57 from centralnicgroup-opensource/wfautomerge
Browse files Browse the repository at this point in the history
ci(gh actions): review auto-merge wf
  • Loading branch information
KaiSchwarz-cnic authored Oct 31, 2023
2 parents 481627d + 509103c commit c3ae4bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/auto-merge-dependabot-pr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Dependabot auto-merge
on: pull_request
on:
pull_request:
types:
- opened
- synchronize

permissions:
contents: write
Expand All @@ -8,8 +12,10 @@ permissions:
jobs:
tests:
uses: ./.github/workflows/test.yml
secrets: inherit

dependabot:
name: "Auto-merge Dependabot PR"
name: Auto-merge Dependabot PR
runs-on: ubuntu-latest
needs: tests
if: ${{ github.actor == 'dependabot[bot]' }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Test
on:
workflow_call:
pull_request:
types:
- opened
- synchronize

jobs:
test:
Expand Down

0 comments on commit c3ae4bf

Please sign in to comment.