-
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
Conversation
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.
bleep: self-review
pull_request: | ||
|
||
jobs: | ||
optimize-auto-merge: |
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.
optimize-auto-merge: | |
merge-optimize-svg: |
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 comment
The 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
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 comment
The 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.
Description
Create a Pull Request instead of pushing directly to repository (See relevant rule: GH006).
Fixes #1626
Type of change
✅ Bug fix (non-breaking change which fixes an issue)
❌ General change (non-breaking change that doesn't fit the above categories, such as copyediting)