mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2024-11-08 16:42:49 +01:00
b357625529
Because of some reason actions started on https://github.com/JetBrains/ideavim/pull/731 pull request and updated it. With this change, forks won't be affected by forked actions. If the action is still needed on fork, these conditions can be changes
17 lines
462 B
YAML
17 lines
462 B
YAML
name: Dependabot auto-merge
|
|
on: pull_request
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
dependabot:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.actor == 'dependabot[bot]' && github.repository == 'JetBrains/ideavim' }}
|
|
steps:
|
|
- name: Auto-merge Dependabot PR
|
|
run: gh pr merge --auto --rebase "$PR_URL"
|
|
env:
|
|
PR_URL: ${{github.event.pull_request.html_url}}
|
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |