diff --git a/.github/workflows/auto-approve-and-merge-keyman-server-pr.yml b/.github/workflows/auto-approve-and-merge-keyman-server-pr.yml index e7a9f673..ac04baec 100644 --- a/.github/workflows/auto-approve-and-merge-keyman-server-pr.yml +++ b/.github/workflows/auto-approve-and-merge-keyman-server-pr.yml @@ -2,27 +2,30 @@ # Automatically approves and queues for merge any pull requests with a branch # name starting with auto/, that are opened by keyman-server. # + + name: Auto Approve and Merge PRs from keyman-server -on: pull_request_target +on: pull_request jobs: auto-approve: - if: github.actor == 'keyman-server' && startsWith(github.head_ref, 'auto/') + # This test is here for safety, to prevent us accidentally approving and + # merging pull requests which don't meet our automatic merge requirements. + # + # Important: this test does not provide security; security is provided by + # GitHub as secrets are not available to forks. A PR from a fork can delete + # this test and the action will run, but without a valid GH_TOKEN it won't + # succeed. + if: github.event.pull_request.head.repo.owner.login == 'keymanapp' && 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/checkout@v6.0.2 - with: - sparse-checkout: | - README.md - sparse-checkout-cone-mode: false - name: Approve pull request run: | - gh pr review --approve ${{github.head_ref}} + gh pr review --repo ${{github.repository}} --approve ${{github.event.pull_request.number}} - name: Enable auto-merge run: | - gh pr merge --merge --auto ${{github.head_ref}} + gh pr merge --repo ${{github.repository}} --merge --auto ${{github.event.pull_request.number}} diff --git a/_content/about/team/index.md b/_content/about/team/index.md index 12dccea1..7e798685 100644 --- a/_content/about/team/index.md +++ b/_content/about/team/index.md @@ -509,6 +509,7 @@ people who have helped Keyman serve you all better! [binarybottle](https://github.com/binarybottle "binarybottle") [bravogeorge](https://github.com/bravogeorge "bravogeorge") [Brdcie](https://github.com/Brdcie "Brdcie") +[Brunomaia877](https://github.com/Brunomaia877 "Brunomaia877") [buayism](https://github.com/buayism "buayism") [butanial](https://github.com/butanial "butanial") [cachang](https://github.com/cachang "cachang") @@ -548,6 +549,7 @@ people who have helped Keyman serve you all better! [gsghyd](https://github.com/gsghyd "gsghyd") [gushmazuko](https://github.com/gushmazuko "gushmazuko") [guyemerson](https://github.com/guyemerson "guyemerson") +[halaywi](https://community.software.sil.org/u/halaywi "halaywi") [Harshavardhan-Pandurangan](https://github.com/Harshavardhan-Pandurangan "Harshavardhan-Pandurangan") [hinditutorpoint](https://github.com/hinditutorpoint "hinditutorpoint") [hsabdullahi](https://github.com/hsabdullahi "hsabdullahi") @@ -591,8 +593,10 @@ people who have helped Keyman serve you all better! [kingsuper195](https://github.com/kingsuper195 "kingsuper195") [kitty-liu-wy](https://github.com/kitty-liu-wy "kitty-liu-wy") [kojamori](https://github.com/kojamori "kojamori") +[kojow7](https://github.com/kojow7 "kojow7") [kongchanlina](https://github.com/kongchanlina "kongchanlina") [kovacshviktor](https://github.com/kovacshviktor "kovacshviktor") +[lahat-m](https://github.com/lahat-m "lahat-m") [laineyhm](https://github.com/laineyhm "laineyhm") [laiteichozah](https://github.com/laiteichozah "laiteichozah") [leepartridge](https://github.com/leepartridge "leepartridge") @@ -635,6 +639,7 @@ people who have helped Keyman serve you all better! [nlci-dev](https://github.com/nlci-dev "nlci-dev") [Noon7007](https://github.com/Noon7007 "Noon7007") [novta](https://github.com/novta "novta") +[NXakimov](https://github.com/NXakimov "NXakimov") [Odisseo7](https://github.com/Odisseo7 "Odisseo7") [okandale](https://github.com/okandale "okandale") [Optikman](https://github.com/Optikman "Optikman")