appleboy / appleboy/scp-action

Ignore dir name only in root

Open
#71 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.6k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

Hi,
here is repo structure

dir1/xyz/override/
dir2/
override/

I'm trying to ignore all content of **override/** but not to ignore **dir/xyz/override/**

All my tries failed. My tries list:
(I use dot to target whole repo files)

source: ". ,!override/*"

source: ". ,!./override/*"

source: ". ,!./override/*, ./modules/*/override/*"

source: "./*.*,modules/*,themes/* ,!override/*"

I see no more options to check. If someone know how to deal with it I'll pleased

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is mentioned. Start by reproducing the reported ignore-pattern behavior in the action's file-selection path, then inspect how the listed source patterns are parsed. Done means root-level override/ content is excluded while nested dir1/xyz/override/ content remains included, with a regression test if the repository has coverage for this path.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.