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

Add copyrights checker #534

Closed
wants to merge 2 commits into from

Conversation

RoukayaZaki
Copy link
Contributor

@RoukayaZaki RoukayaZaki commented Nov 15, 2024

resolves issue #450


PR-Codex overview

This PR introduces a new GitHub Actions workflow for managing copyrights in the repository. It specifies when the workflow should run and includes the necessary steps to check out the code and run a copyrights check against specified file types.

Detailed summary

  • Added a new workflow file: .github/workflows/copyrights.yml
  • Defined the workflow name as copyrights
  • Set triggers for the workflow on push and pull_request events to the master branch
  • Specified the job copyrights to run on ubuntu-24.04
  • Included steps to check out the repository and run the yegor256/copyrights-action with a specified license file and file globs for .yml, .yaml, .hs, .sh, and .cf files.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@deemp deemp linked an issue Nov 15, 2024 that may be closed by this pull request
2 tasks
**/*.yaml
**/*.hs
**/*.sh
**/*.phi
Copy link
Member

Choose a reason for hiding this comment

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

Exclude .phi files. It's impossible to add copyright notice there since their format doesn't support comments - see #450 (comment).

**/*.yaml
**/*.hs
**/*.sh
**/*.phi
Copy link
Member

Choose a reason for hiding this comment

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

Include .cf files (we have Syntax.cf).

@deemp
Copy link
Member

deemp commented Nov 18, 2024

Closed in favor of #536

@deemp deemp closed this Nov 18, 2024
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.

let's add copyrights checker to CI pipeline
2 participants