Skip to content

Conversation

@THardy98
Copy link
Contributor

The 'Test run a workflow (cloud)' step was failing with:
Error: EACCES: permission denied, mkdir /certs because ${{ runner.temp }} was not expanding properly in multi-line YAML blocks.

Changes:

  • Convert multi-line run block to single-line format
  • Remove redundant create-certs-dir.js call (certs already created in prior step)
  • Add comment explaining why single-line format is required

This ensures proper expansion of GitHub Actions context variables and prevents the '/certs' permission error.

…text expansion

The 'Test run a workflow (cloud)' step was failing with 'Error: EACCES: permission denied, mkdir /certs' because ${{ runner.temp }} was not expanding properly in multi-line YAML blocks.

Changes:
- Convert multi-line run block to single-line format
- Remove redundant create-certs-dir.js call (certs already created in prior step)
- Add comment explaining why single-line format is required

This ensures proper expansion of GitHub Actions context variables and prevents the '/certs' permission error.
@THardy98 THardy98 requested a review from a team as a code owner September 11, 2025 23:42
Copy link
Member

@Sushisource Sushisource left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

@mjameswh
Copy link
Contributor

I have strong doubts regarding the multiline vs single-line thing. Multiline is a YAML syntax, that should not impact expression evaluation. The real problem is the ${{ steps.tmp-dir.outputs.dir }} expression. There is no step named tmp-dir.

But, yeah, I agree about the redundant call to create-certs-dir.js. It is no longer pertinent. And removing that one gets rid of the invalid ${{ steps.tmp-dir.outputs.dir }} expression. So this PR should indeed fix the issue.

Can you just please remove the comment about single-line syntax?

Copy link
Contributor

@mjameswh mjameswh left a comment

Choose a reason for hiding this comment

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

Please remove the comment regarding single line syntax.

@THardy98
Copy link
Contributor Author

Going to bypass - test flakes are irrelevant to CI workflow change

@THardy98 THardy98 merged commit 770ef97 into main Sep 12, 2025
21 of 23 checks passed
@THardy98 THardy98 deleted the sdk-t-fix-certs-ci-failure branch September 12, 2025 18:05
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.

4 participants