summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/sync_crowdin.yml6
-rw-r--r--.github/workflows/update_publicsuffix_data.yml6
2 files changed, 4 insertions, 8 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 }}
diff --git a/.github/workflows/update_publicsuffix_data.yml b/.github/workflows/update_publicsuffix_data.yml
index d90157df..b587cbe8 100644
--- a/.github/workflows/update_publicsuffix_data.yml
+++ b/.github/workflows/update_publicsuffix_data.yml
@@ -45,14 +45,12 @@ jobs:
commit-message: "autofill-parser: update publicsuffixes file"
labels: A-PSL
title: Update Public Suffix List data
- 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 }}