-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I'm trying to use Deploy Key with gh-action-bump-version.
Do you know if secrets.GITHUB_TOKEN is automatically set by the github checkout action when using ssh-key?
I'm still facing the branch protected rule error.
More context: phips28/gh-action-bump-version#260
steps:
- uses: actions/checkout@v4
with:
ref: refs/heads/dev
ssh-key: ${{ secrets.DEPLOY_KEY }} # Private ssh key
persist-credentials: true # <<-- Does this expose a token to GITHUB_TOKEN?
- id: bump-package-version
uses: 'phips28/gh-action-bump-version@master'
with:
commit-message: 'CI: bumps version to {{version}} [skip ci]'
default: 'minor'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Tried with or without this line; how to use the ssh auth?
PACKAGEJSON_DIR: packages/editor
Metadata
Metadata
Assignees
Labels
No labels