-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Pull Request #1627
Create Pull Request #1627
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Auto-merger | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
optimize-auto-merge: | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.title == 'Optimize SVG(s)' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Checking only for the title is not ideal See https://github.com/LawnchairLauncher/lawnchair/blob/13-dev/.github/workflows/ci.yml#L109-L119 for a better implementation |
||
steps: | ||
- env: | ||
PR_URL: ${{ github.event.pull_request.html_url }} | ||
run: | | ||
gh pr comment $PR_URL --body "No issues found, auto-merging the pull request." | ||
gh pr merge $PR_URL --auto --squash --delete-branch | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might be a problem, because we would need to let it run a bit for the required check to complete then we can merge it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.