Skip to content

chore: Add license references to files that don't have them#5977

Merged
lukemassa merged 6 commits intorunatlantis:mainfrom
lukemassa:add_licenses_and_ci_for_licenses
Dec 3, 2025
Merged

chore: Add license references to files that don't have them#5977
lukemassa merged 6 commits intorunatlantis:mainfrom
lukemassa:add_licenses_and_ci_for_licenses

Conversation

@lukemassa
Copy link
Contributor

@lukemassa lukemassa commented Nov 21, 2025

what

Add license references to files that don't have them

why

I noticed a number of files have the old Copyright 2017 HootSuite Media Inc. from before the project was made open source. We don't want remove that per the license, but for new files we should be tracking the copyright status.

I used the https://github.com/google/addlicense tool to makes sure all newer go files have a license using the condensed SPDX format, and labeling the copyright owners as The Atlantis Authors.

I also added a check to CI so we wouldn't forget to add them to new files.

Longer term we can add to files other than go, I just wanted to start us off somewhere.

tests

I ran the script a few times

references

N/A

Signed-off-by: Luke Massa <lukefrederickmassa@gmail.com>
@lukemassa lukemassa marked this pull request as ready for review November 24, 2025 20:54
@dosubot dosubot bot added the go Pull requests that update Go code label Nov 24, 2025
chenrui333
chenrui333 previously approved these changes Nov 24, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 24, 2025
Signed-off-by: Luke Massa <lmassa@tripadvisor.com>
chenrui333
chenrui333 previously approved these changes Nov 26, 2025
@lukemassa lukemassa enabled auto-merge (squash) December 3, 2025 00:38
@lukemassa lukemassa merged commit 82be69c into runatlantis:main Dec 3, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code lgtm This PR has been approved by a maintainer provider/azuredevops provider/bitbucket provider/github provider/gitlab

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants