mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-10-15 19:42:06 +00:00
Hotfix: Skip Checkout Regression (#680)
* Fix: Skip Checkout Regression * Fix test name * Add newline to end of checkout push test * Restore .gitignore from node12 test. Todo: Restore that file after the test * Format workflow * Test: Fix path slash direction for windows relative source path * Add explicit nil test for newRemoteAction * Regress .secrets during tests Co-authored-by: Ryan (hackercat) <me@hackerc.at>
This commit is contained in:
parent
60bee1fc2f
commit
1d3cf75364
5 changed files with 19 additions and 12 deletions
|
@ -77,7 +77,7 @@ func (sc *StepContext) Executor() common.Executor {
|
|||
github := rc.getGithubContext()
|
||||
if remoteAction.IsCheckout() && github.isLocalCheckout(step) {
|
||||
return func(ctx context.Context) error {
|
||||
common.Logger(ctx).Debugf("Skipping actions/checkout")
|
||||
common.Logger(ctx).Debugf("Skipping local actions/checkout because workdir was already copied")
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue