Merge me! #1670
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Merge me! | |
on: | |
check_suite: | |
types: | |
- completed | |
jobs: | |
merge-me: | |
name: Merge me! | |
runs-on: ubuntu-latest | |
steps: | |
- name: Impersonate update bot | |
uses: tibdex/github-app-token@v1 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_KEY }} | |
- name: Approve and merge! | |
uses: ridedott/merge-me-action@v2 | |
with: | |
# Depending on branch protection rules, a manually populated | |
# `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to | |
# a protected branch must be used. This secret can have an arbitrary | |
# name, as an example, this repository uses `DOTTBOTT_TOKEN`. | |
# | |
# When using a custom token, it is recommended to leave the following | |
# comment for other developers to be aware of the reasoning behind it: | |
# | |
# This must be used as GitHub Actions token does not support pushing | |
# to protected branches. | |
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} | |
PRESET: DEPENDABOT_MINOR |