Skip to content

Commit

Permalink
Use SSH deploy key for creation of sync map PRs.
Browse files Browse the repository at this point in the history
This is following
https://github.com/peter-evans/create-pull-request/blob/f908c6b99c68ed4a1eee1cdb6fbc20a0464a92ed/docs/concepts-guidelines.md#push-using-ssh-deploy-keys
to work around limitation of GitHub Workflows not being triggered
from PRs created from other workflows.
  • Loading branch information
p2004a committed Jul 28, 2023
1 parent f340ba5 commit dd0c513
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- 'sync-map-*'
paths-ignore:
- 'tools/**'
- 'cloud/**'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sync_map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
echo "pr_title=Update map ${to_sync} from rowy" >> $GITHUB_OUTPUT
fi
- uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.SSH_SELF_DEPLOY_KEY }}
- name: Setup Python
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit dd0c513

Please sign in to comment.