Skip to content

Make auto-generated files non-executable (set mode to 0644)#5423

Draft
janniklasrose wants to merge 1 commit into
mainfrom
janniklasrose/revert-executable-files
Draft

Make auto-generated files non-executable (set mode to 0644)#5423
janniklasrose wants to merge 1 commit into
mainfrom
janniklasrose/revert-executable-files

Conversation

@janniklasrose
Copy link
Copy Markdown
Contributor

Changes

genkit writes its generated output with mode 0755. This PR changes the files to 0644. Upstream fix to genkit is pending.

Why

Source files should not be executable files.

Tests


Co-authored-by: Isaac

genkit writes its generated output with mode 0755 (openapi/genkit sync.go and render.go), but the execute bit is meaningless for Go sources and a GitHub Actions workflow YAML. Normalize the generated command files plus tagging.yml and tagging.py to 0644 so they match every other workflow file and stop producing spurious mode diffs on regeneration.

Co-authored-by: Isaac
@eng-dev-ecosystem-bot
Copy link
Copy Markdown
Collaborator

Commit: 6953fa8

Run: 26890576861

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