-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #869 from keymanapp/chore/merge-master-to-staging-…
…a17s25 chore: Merge master to staging for Sprint A17S25
- Loading branch information
Showing
41 changed files
with
14,805 additions
and
60 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
.github/workflows/auto-approve-and-merge-keyman-server-pr.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# | ||
# Automatically approves and queues for merge any pull requests with a branch | ||
# name starting with auto/, that are opened by keyman-server. This action is | ||
# used to merge product help documentation from keymanapp/keyman and also for | ||
# keyboard documentation PRs. | ||
# | ||
name: Auto Approve and Merge PRs from keyman-server | ||
|
||
on: pull_request_target | ||
|
||
jobs: | ||
auto-approve: | ||
if: github.actor == 'keyman-server' && startsWith(github.head_ref, 'auto/') | ||
runs-on: ubuntu-latest | ||
env: | ||
GH_TOKEN: ${{ secrets.AUTO_PR_APPROVAL_BY_KEYMAN_STATUS }} | ||
permissions: write-all | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
sparse-checkout: | | ||
README.md | ||
sparse-checkout-cone-mode: false | ||
- name: Approve pull request | ||
run: | | ||
gh pr review --approve ${{github.head_ref}} | ||
- name: Enable auto-merge | ||
run: | | ||
gh pr merge --merge --auto ${{github.head_ref}} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.