Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ssh-key as an alternative to github-token #283

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

criccomini
Copy link

I'd like to be able to push to other repositories in my org using our SSH deploy key instead of a personal access token or a Github application token. Currently, github-action-benchmark only supports github-token for such scenarios. This PR adds a ssh-key as an alternative.

The code takes the ssh-key setting, puts it into .ssh in the Github runner, and updates the core git SSH command to use the key. All of the git-related commands then call the setupSshKey method prior to running.

Fixes #133

@criccomini
Copy link
Author

@rhysd Any interest in this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow SSH deploy
1 participant