-
Notifications
You must be signed in to change notification settings - Fork 25
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
GitHub identity not set #9
Comments
The issue here is not with GitHub but git. 🙂
That usually is not a problem when using publish-rubygems-action since the recommended (in README) flow is to run the action on tag push – then You could probably work around it by adding those git commands to the workflow: - name: Tag and deploy
if: steps.changed-version.outputs.changed == 'true'
uses: cadwallion/publish-rubygems-action@master
env:
RUBYGEMS_API_KEY: "${{ secrets.RUBYGEMS_API_KEY }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
RELEASE_COMMAND: |
git config --global user.email "[email protected]"
git config --global user.name "Automated Release"
bundle exec rake release |
Thanks a lot!!! |
@lmrodriguezr I just released a v2-beta of the Discourse fork: https://github.com/discourse/publish-rubygems-action/tree/v2-beta It detects current gem version, checks if the matching tag exists, and if it doesn't it tags and releases the gem. 😃 (see the updated README) |
Hello!
First off, thank you very much for this very useful action!
I'm having an issue with my repository, though. When I execute it, I'm getting this error:
(see here)
I'm passing the
GITHUB_TOKEN
secret, but this repository is hosted by an organization, not a user. Could that be the reason? This is the action configuration in case that helps:https://github.com/bio-miga/miga/blob/main/.github/workflows/build.yml#L36
Thanks!
The text was updated successfully, but these errors were encountered: