Skip to content

Commit 6317d8d

Browse files
hsbtclaude
andcommitted
Remove unnecessary working-directory from composite action uses step and git config steps
working-directory is not supported on uses steps in composite actions. Git credential and fetch steps operate on the repository root set up by actions/checkout, so working-directory is unnecessary for them. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d549c96 commit 6317d8d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,9 @@ runs:
5353
- name: Fetch tags
5454
run: git fetch --tags --force
5555
shell: bash
56-
working-directory: ${{ inputs.working-directory }}
5756
- name: Configure trusted publishing credentials
5857
if: ${{ inputs.setup-trusted-publisher == 'true' }}
5958
uses: rubygems/configure-rubygems-credentials@bc6dd217f8a4f919d6835fcfefd470ef821f5c44 # v1.0.0
60-
working-directory: ${{ inputs.working-directory }}
6159
- name: Run release rake task
6260
run: bundle exec rake release
6361
shell: bash

0 commit comments

Comments
 (0)