Skip to content
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

GitHub action to add copyright headers #216

Open
flanakin opened this issue Jul 24, 2023 · 0 comments
Open

GitHub action to add copyright headers #216

flanakin opened this issue Jul 24, 2023 · 0 comments
Labels
Help wanted ✨ Extra attention is needed Skill: DevOps GitHub setup and automation Tool: PowerShell PowerShell scripts and automation

Comments

@flanakin
Copy link
Collaborator

⚠️ Problem

Copyright headers are required, but easily forgotten.

🛠️ Solution

Create a GitHub action that runs the Add-CopyrightHeaders script for every PR.
If any files are updated, commit and push to the branch.
If any new file types are discovered, block the PR and leave a comment to add the comment characters or exclude the file type.
Re-run the check with each commit.

ℹ️ Additional context

Details about updating the script are documented at src/scripts/README.md.

🙋‍♀️ Ask for the community

We could use your help:

  1. Please vote this issue up (👍) to prioritize it.
  2. Leave comments to help us solidify the vision.
@flanakin flanakin added Help wanted ✨ Extra attention is needed Skill: DevOps GitHub setup and automation Tool: PowerShell PowerShell scripts and automation labels Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted ✨ Extra attention is needed Skill: DevOps GitHub setup and automation Tool: PowerShell PowerShell scripts and automation
Projects
None yet
Development

No branches or pull requests

1 participant