Skip to content

Commit

Permalink
ci: update global workflows (#525)
Browse files Browse the repository at this point in the history
Co-authored-by: asyncapi-bot <info@asyncapi.io>
  • Loading branch information
asyncapi-bot and asyncapi-bot authored Apr 6, 2021
1 parent f9a9851 commit e3e0bda
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: Automerge release bump PR

on:
pull_request:
pull_request_target:
types:
- labeled
- unlabeled
Expand All @@ -17,10 +17,6 @@ on:
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}

jobs:

Expand All @@ -29,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Autoapproving
uses: hmarr/auto-approve-action@v2.0.0
uses: hmarr/auto-approve-action@v2
if: github.actor == 'asyncapi-bot' || github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
Expand All @@ -39,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Automerging
uses: pascalgn/automerge-action@v0.7.5
uses: pascalgn/automerge-action@v0.13.0
if: github.actor == 'asyncapi-bot' || github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
env:
GITHUB_TOKEN: "${{ secrets.GH_TOKEN }}"
Expand Down

0 comments on commit e3e0bda

Please sign in to comment.