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

Support the use of Deploy-Keys for push #8

Open
rustycl0ck opened this issue Nov 2, 2021 · 1 comment
Open

Support the use of Deploy-Keys for push #8

rustycl0ck opened this issue Nov 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@rustycl0ck
Copy link

What you want to add

Currently, GITHUB_TOKEN is used for authentication while pushing tags. This issue is for requesting a feature to support the use of deploy keys for pushing tags from the workflow.

Why this is needed

From github documentation:

When you use the repository's GITHUB_TOKEN to perform tasks on behalf of the GitHub Actions app, events triggered by the GITHUB_TOKEN will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs. For example, if a workflow run pushes code using the repository's GITHUB_TOKEN, a new workflow will not run even when the repository contains a workflow configured to run when push events occur.

This is a problem if the tag event is supposed to trigger any other workflows. - [Ref]
A proposed solution for this is to use the deploy keys for pushing the tag. - [Ref1], [Ref2]

@rustycl0ck rustycl0ck added the enhancement New feature or request label Nov 2, 2021
@rustycl0ck
Copy link
Author

For any users who hit this issue:
Probably a better solution to this might be to reuse the existing workflows so that they can be called from other workflows. This requires modifying the existing workflows though.

For the owners of this action:
It would be a nice-to-have feature to allow pushing tags using deploy-keys.

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

No branches or pull requests

1 participant