mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-01 21:43:28 -05:00
dev: Switch approver for automated i18n merges (#6976)
This commit is contained in:
9
.github/workflows/auto-merge-l10n.yml
vendored
9
.github/workflows/auto-merge-l10n.yml
vendored
@@ -14,13 +14,6 @@ jobs:
|
|||||||
if: contains(github.event.pull_request.labels.*.name, 'l10n')
|
if: contains(github.event.pull_request.labels.*.name, 'l10n')
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Generate GitHub App Token
|
|
||||||
id: app-token
|
|
||||||
uses: actions/create-github-app-token@v1
|
|
||||||
with:
|
|
||||||
app-id: ${{ secrets.COMMIT_BOT_APP_ID }}
|
|
||||||
private-key: ${{ secrets.COMMIT_BOT_APP_PRIVATE_KEY }}
|
|
||||||
|
|
||||||
- name: Validate PR author
|
- name: Validate PR author
|
||||||
env:
|
env:
|
||||||
AUTHOR: ${{ github.event.pull_request.user.login }}
|
AUTHOR: ${{ github.event.pull_request.user.login }}
|
||||||
@@ -81,7 +74,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Approve PR
|
- name: Approve PR
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user