Skip to content

ci: fix upload of arn files data in releases - #2785

Open
xrmx wants to merge 1 commit into
elastic:mainfrom
xrmx:fix-arn-file-upload
Open

xrmx wants to merge 1 commit into
elastic:mainfrom
xrmx:fix-arn-file-upload

Conversation

@xrmx

@xrmx xrmx commented Nov 16, 2026

Copy link
Copy Markdown
Member

What does this pull request do?

We need to enable include-hidden-files otherwise it would be skipped as it starts with a dot.

Related issues

Refs #2403

@xrmx
xrmx requested review from a team as code owners November 16, 2026 17:03
@github-actions

Copy link
Copy Markdown

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

We need to enable include-hidden-files otherwise it would be skipped as
it starts with a dot.
@xrmx
xrmx force-pushed the fix-arn-file-upload branch from cd08466 to f563a79 Compare November 16, 2026 17:04
name: arn-file
path: "${{ github.workspace }}/.arn-file.md"
if-no-files-found: error
include-hidden-files: true

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@elastic/observablt-robots do you prefer this or dropping the . from the file name?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

FWIW in apm-agent-nodejs we put the generated ARN info in a build/aws/arn-file.md (no .). The "build/aws/..." area keeps it out of possibly be included in a packaging up of the files for publishing the actual Node.js/npm package.

However, the apm-agent-nodejs.git release workflow doesn't currently separate jobs (to reduce permissions like apm-agent-python.git's release.yml is doing), so upload-artifact behaviour wasn't a concern.

name: arn-file
path: "${{ github.workspace }}/.arn-file.md"
if-no-files-found: error
include-hidden-files: true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

FWIW in apm-agent-nodejs we put the generated ARN info in a build/aws/arn-file.md (no .). The "build/aws/..." area keeps it out of possibly be included in a packaging up of the files for publishing the actual Node.js/npm package.

However, the apm-agent-nodejs.git release workflow doesn't currently separate jobs (to reduce permissions like apm-agent-python.git's release.yml is doing), so upload-artifact behaviour wasn't a concern.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants