-
Notifications
You must be signed in to change notification settings - Fork 1
Copyright Action #10
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
Copyright Action #10
Conversation
AaronJhaj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a couple things to change
.github/workflows/java.yaml
Outdated
| - uses: actions/checkout@v3 | ||
| - name: Check Copyright | ||
| env: | ||
| EXTENSIONS: "*.java" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please could you change the EXTENSIONS env variable to:
EXTENSIONS: "*.java *.js"
.github/workflows/java.yaml
Outdated
| COPYRIGHT_STATEMENT: "/**\n * Copyright IBM Corp. 2024\n */" | ||
| run: | | ||
| for ext in $EXTENSIONS; do | ||
| for file in $(find . -type f -name "$ext" ! -path "cics-java-liberty-jdbc/*"); do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please change the path to be "cics-java-liberty-jdbc-web/*"
IvanHargreaves
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving as long as Aaron's comments are addressed. Thanks.
|
NOTE: once you add the *.js to the EXTENSIONS list, the build should create another pull request with the copyright added the to .js file. merge that into this branch before merging this pr |
Changes by create-pull-request action
cics-java-liberty-jdbc Copyright action.