Skip to content

Commit

Permalink
Merge pull request #12 from Think-Cube/patch-1
Browse files Browse the repository at this point in the history
Create auto-merge-github-actions.yml
  • Loading branch information
spy86 authored Jun 4, 2024
2 parents 4289133 + 47673ff commit bbf238e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/auto-merge-github-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto Merge GitHub Actions
on:
pull_request:
types:
- opened
- synchronize
permissions:
contents: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && contains(github.event.pull_request.head.ref, 'dependabot/github_actions/')
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Auto approve
uses: hmarr/[email protected]
with:
github-token: ${{ secrets.GH_TOKEN }}
- name: Merge pull request
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit bbf238e

Please sign in to comment.