Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Schedule - Automatic Merge #4387

Schedule - Automatic Merge

Schedule - Automatic Merge #4387

name: "Schedule - Automatic Merge"
on:
schedule:
- cron: "0 17-22 * * *"
jobs:
automerge:
#if: ${{github.event_name == 'schedule' && github.actor == 'trux-bot'}}
runs-on: ubuntu-latest
steps:
- name: Generate Token
uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.TRUXNELL_APP_ID }}
private_key: ${{ secrets.TRUXNELL_APP_PRIVATE_KEY }}
- name: automerge-servers
uses: "pascalgn/[email protected]"
env:
GITHUB_TOKEN: "${{ steps.generate-token.outputs.token }}"
MERGE_METHOD: rebase
UPDATE_METHOD: rebase
MERGE_LABELS: "automerge-servers"
MERGE_FILTER_AUTHOR: "trux-bot[bot]"
MERGE_COMMIT_MESSAGE: pull-request-title