mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 19:56:13 +01:00
[TASK] Streamline the auto-merge GitHub Actions workflow (#817)
This commit is contained in:
parent
3c904397d3
commit
2186478f06
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
||||||
name: automerge
|
# https://docs.github.com/en/github-ae@latest/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions
|
||||||
|
name: auto-merge
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# We're using pull_request_target instead of pull_request due to permission issues with the pull_request target:
|
# We're using pull_request_target instead of pull_request due to permission issues with the pull_request target:
|
||||||
|
@ -6,7 +7,7 @@ on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
automerge:
|
auto-merge:
|
||||||
name: Dependabot auto-merge
|
name: Dependabot auto-merge
|
||||||
|
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
@ -14,8 +15,7 @@ jobs:
|
||||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Enable automerge
|
- name: Enable auto-merge
|
||||||
shell: bash
|
|
||||||
run: gh pr merge -R "${{ github.repository }}" --squash --auto "${{ github.event.pull_request.number }}"
|
run: gh pr merge -R "${{ github.repository }}" --squash --auto "${{ github.event.pull_request.number }}"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
Loading…
Reference in a new issue