Skip to content

Conversation

segiddins
Copy link
Contributor

@segiddins segiddins commented Nov 20, 2024

Closes #9

Signed-off-by: Samuel Giddins segiddins@segiddins.me

Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
- name: Configure trusted publishing credentials
if: ${{ inputs.setup-trusted-publisher == 'true' }}
uses: rubygems/configure-rubygems-credentials@v1.0.0
working-directory: ${{ inputs.working-directory }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is extraneous

git config --global user.name "$(git log -1 --pretty=format:'%an')"
git remote set-url origin "https://x-access-token:${{ github.token }}@github.com/$GITHUB_REPOSITORY"
shell: bash
working-directory: ${{ inputs.working-directory }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this useful? The repo folder or sub folders will not affect these commands.

If it's submodule in a repo folder, this will not help. We can remove this.

@erickguan
Copy link

I would love to see a new release with this feature to unblock a gem release.

@yuokada
Copy link

yuokada commented Sep 11, 2025

I hope this pull request gets merged soon so that the working directory becomes configurable.

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.

Support working-directory parameter

4 participants