Merge on LGTM Label #12870
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 on LGTM Label | |
on: | |
schedule: | |
- cron: "*/5 * * * *" | |
jobs: | |
merge-checker: | |
runs-on: ubuntu-latest | |
env: | |
ROBOT_PAT: ${{ secrets.ROBOT_PAT }} | |
steps: | |
- uses: chnsz/[email protected] | |
if: ${{ env.ROBOT_PAT }} | |
with: | |
jobs: 'lgtm' | |
github-token: "${{ env.ROBOT_PAT }}" | |
# this configuration is optional and will default to 'merge' | |
# possible options are 'merge', 'rebase', or 'squash' | |
merge-method: 'squash' |