Prow merge on lgtm label #1573
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
# This Github workflow will check every hour for PRs with the lgtm label and will attempt to automatically merge them. | |
# If the hold label is present, it will block automatic merging. | |
name: "Prow merge on lgtm label" | |
on: | |
schedule: | |
- cron: "0 * * * *" # every hour | |
jobs: | |
auto-merge: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: jpmcb/[email protected] | |
with: | |
jobs: 'lgtm' | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
merge-method: 'squash' |