-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto-check still missing some replacement items #166
Comments
The extra auto-check output reveals 2 points worthy of note:
and the culprit function is: function update-workflow-names() {
local repo=$1
local owner=$2
local from=.github/workflows
local file_pattern=*.yml
local target="name: Arcadia"
local tc_repo="$(echo ${repo:0:1} | tr '[:lower:]' '[:upper:]')${repo:1}"
local replacement="name: $tc_repo"
update-all-generic "💥 update-workflow-names" $repo $owner $from $file_pattern "$target" $replacement
} If we invoke manually, ie defined repo and owner, then invoke the function, it works as expected:
So the function works in isolation but not in the batch, arghh! |
Ok, try moving the function call to another point in the batch to see what effect it has and whether that exposes the root cause. |
changing the order makes no difference:
|
The problem might be because gh-actions is trying to run a file that we're are trying to modify. |
No description provided.
The text was updated successfully, but these errors were encountered: