Skip to content

📥 Merge pull requests #18

📥 Merge pull requests

📥 Merge pull requests #18

Workflow file for this run

---
on: # yamllint disable-line rule:truthy
workflow_run:
types:
- completed
workflows:
- '🧪 Test Docker images'
name: 📥 Merge pull requests
jobs:
merge:
runs-on: ubuntu-latest
timeout-minutes: 5
if: >
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success' &&
(
(github.actor == 'renovate[bot]' &&
startsWith(github.event.workflow_run.head_commit.message, 'deps(deps)')
) ||
(github.actor == 'lotyp' &&
startsWith(github.event.workflow_run.head_commit.message, 'chore(master)')
)
)
steps:
- name: 🙋‍♂️ Request reviewer from @way-finder-bot
uses: wayofdev/gh-actions/actions/github/pull-request/[email protected]
with:
reviewer: 'way-finder-bot'
github-token: "${{ secrets.WAY_FINDER_BOT_TOKEN }}"
- name: 🙋‍♂️ Assign @way-finder-bot
uses: wayofdev/gh-actions/actions/github/pull-request/[email protected]
with:
assignee: 'way-finder-bot'
github-token: "${{ secrets.WAY_FINDER_BOT_TOKEN }}"
- name: ✅ Approve pull request
uses: wayofdev/gh-actions/actions/github/pull-request/[email protected]
with:
github-token: "${{ secrets.WAY_FINDER_BOT_TOKEN }}"