Skip to content

Add copyright source headers and GHA check #159

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

Merged
merged 6 commits into from
Mar 3, 2025

Conversation

RubenSandwich
Copy link
Contributor

@RubenSandwich RubenSandwich commented Mar 3, 2025

Description

  • Adds BSL SPDX-License-Identifier to source code
  • Adds GHA to check that new source has the BSL SPDX-License-Identifier

Testing GHA

@RubenSandwich RubenSandwich requested a review from a team as a code owner March 3, 2025 15:59
@RubenSandwich RubenSandwich requested review from prestonbourne and removed request for a team March 3, 2025 15:59
Copy link

github-actions bot commented Mar 3, 2025

Vercel Previews Deployed

Name Status Preview Updated (UTC)
Dev Portal ✅ Ready (Inspect) Visit Preview Mar 3, 2025, 4:31 PM
Unified Docs API ✅ Ready (Inspect) Visit Preview Mar 3, 2025, 4:19 PM

@RubenSandwich RubenSandwich changed the title Add copyright source headers Add copyright source headers and GHA check Mar 3, 2025
Comment on lines +4 to +5
license = "BUSL-1.1"
copyright_year = 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

In the ticket it says the license should be BSL-1.1. Which one is correct and can the wrong one be updated? Also, should the copyright_year be 2025?

Copy link
Contributor Author

@RubenSandwich RubenSandwich Mar 3, 2025

Choose a reason for hiding this comment

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

@LeahMarieBush Looks like it is BUSL-1.1, at least if we use the terraform repo as a source of truth:

Good question; you usually copyright when you start work, not when you release:

@RubenSandwich RubenSandwich merged commit 12d3270 into main Mar 3, 2025
6 checks passed
im2nguyen pushed a commit that referenced this pull request Mar 6, 2025
* Add copyright source headers

* Add check headers GHA

* Use a trusted checkout action version

* test by pushing up a file with no header

* forgot the .js on the file

* Remove test file
@RubenSandwich RubenSandwich deleted the rn/add-source-headers branch March 6, 2025 14:31
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