diff options
| author | Harsh Shandilya <me@msfjarvis.dev> | 2022-09-05 13:41:19 +0530 |
|---|---|---|
| committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-09-05 13:41:19 +0530 |
| commit | 9fd8d012c661c1841979b4f27f38c7e2ba98b871 (patch) | |
| tree | edd25dfed70116602b8cae3098e05c112de85c21 /.github/workflows/sync_crowdin.yml | |
| parent | 862bc59f542966a893ddadd26e4b793810f8e20d (diff) | |
| download | HardenedPass-9fd8d012c661c1841979b4f27f38c7e2ba98b871.tar.gz HardenedPass-9fd8d012c661c1841979b4f27f38c7e2ba98b871.zip | |
fix(github): open automated PRs as (@)msfjarvis
This saves a close-reopen round trip since human created PRs automatically trigger checks
Diffstat (limited to '.github/workflows/sync_crowdin.yml')
| -rw-r--r-- | .github/workflows/sync_crowdin.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/sync_crowdin.yml b/.github/workflows/sync_crowdin.yml index f16d250e..85556384 100644 --- a/.github/workflows/sync_crowdin.yml +++ b/.github/workflows/sync_crowdin.yml @@ -42,14 +42,12 @@ jobs: commit-message: "strings: sync with crowdin" labels: A-localisation, P-low, S-waiting-on-review title: Sync localisations from Crowdin - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.PSL_UPDATE_TOKEN }} - - name: Close, re-open and enable squash merge for PR + - name: Enable automerge for PR if: "${{ steps.cpr.outputs.pull-request-operation == 'created' }}" shell: bash run: | - gh pr close "${PR_URL}" - gh pr reopen "${PR_URL}" gh pr merge --squash --auto "${PR_URL}" env: GITHUB_TOKEN: ${{ secrets.PSL_UPDATE_TOKEN }} |
