Skip to content

fix: run scripts directly from action path without checking out deploy-actions - #332

Merged
panicboat merged 2 commits into
mainfrom
fix/run-actions-from-action-path
Oct 9, 2026
Merged

panicboat merged 2 commits into
mainfrom
fix/run-actions-from-action-path

Conversation

@panicboat

Copy link
Copy Markdown
Owner

Why

Previously, composite actions checked out panicboat/deploy-actions to the caller workspace and copied configuration files into it. This introduced redundant network checkouts, required extraneous deploy-actions-ref inputs, and carried risks of version mismatch.

This PR:

  • Eliminates the actions/checkout step for deploy-actions and runs scripts directly using ${{ github.action_path }}/../action-scripts as working-directory.
  • Reads configuration directly from the checked out source repository via WORKFLOW_CONFIG_PATH: ${{ github.workspace }}/source-repo/${{ inputs.config-path }} and SOURCE_REPO_PATH: ${{ github.workspace }}/source-repo.
  • Removes the no-longer-needed copy-configuration.js scripts and extraneous deploy-actions-ref / deploy-actions-repository inputs.

…y-actions

Signed-off-by: panicboat <panicboat@gmail.com>
@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 12d59cd9-8769-447b-8cca-7112c8884d85
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@panicboat
panicboat marked this pull request as ready for review October 9, 2026 07:01
Signed-off-by: panicboat <panicboat@gmail.com>
@panicboat
panicboat merged commit 0aea6e7 into main Oct 9, 2026
6 checks passed
@panicboat
panicboat deleted the fix/run-actions-from-action-path branch October 9, 2026 07:18
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.

1 participant