Skip to content

Conversation

@mikeCRL
Copy link
Contributor

@mikeCRL mikeCRL commented Jan 4, 2024

Follow up to #18181 to resolve the same matter but for our custom copy of that GH action.

@mikeCRL mikeCRL marked this pull request as ready for review January 4, 2024 20:20
@mikeCRL mikeCRL requested a review from a team as a code owner January 4, 2024 20:20
@netlify
Copy link

netlify bot commented Jan 4, 2024

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 57632fe
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-api-docs/deploys/659718d9bd09e7000800a13a

@netlify
Copy link

netlify bot commented Jan 4, 2024

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 57632fe
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-interactivetutorials-docs/deploys/659718d9b999ec0008564160

@netlify
Copy link

netlify bot commented Jan 4, 2024

Netlify Preview

Name Link
🔨 Latest commit 57632fe
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-docs/deploys/659718d93ea4f100080339bb
😎 Deploy Preview https://deploy-preview-18191--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mikeCRL mikeCRL changed the title Prevent special characters in filenames processed by changed_files.yml [DOC-9457] Prevent special characters in filenames processed by changed_files.yml Jan 4, 2024
@mikeCRL mikeCRL marked this pull request as draft January 4, 2024 20:41
@mikeCRL mikeCRL removed the request for review from shannonbradshaw January 4, 2024 20:46
Copy link
Contributor

@shannonbradshaw shannonbradshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple of questions. How are you testing this, btw?

safe_file=$(printf '%q' "$file")
escaped_files+=("$safe_file")
done
printf "%s\n" "${escaped_files[@]}" > $GITHUB_ENV
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does $GITHUB_ENV carry any state or are you creating it here?

for file in ${files[@]}; do
env_files=($(cat $GITHUB_ENV))
for file in "${env_files[@]}"; do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is env_files actually going to be a list?

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.

2 participants