Skip to content

Commit af06849

Browse files
authored
Use SSH Key to trigger workflow runs in created pull request
1 parent 98e3cb9 commit af06849

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/crowdin_sync.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ on:
1616
env:
1717
# The git branch used for sync with crowdin and for the pull request
1818
BRANCH: crowdin
19+
# SSH Deploy Key with write access (needed to trigger push workflow runs in created pull request)
20+
SSH_KEY: ${{ secrets.SSH_KEY_GITHUB_ACTION }}
21+
1922
# crowdin config
2023
CONFIG: '.github/.crowdin.yml'
2124
PROJECT: ${{ secrets.CROWDIN_PROJECT_ID }}
@@ -45,6 +48,7 @@ jobs:
4548
- name: Checkout repo
4649
uses: actions/checkout@v4
4750
with:
51+
ssh-key: ${{ env.SSH_KEY }}
4852
fetch-depth: 0
4953

5054
- name: Install python

0 commit comments

Comments
 (0)