Skip to content

Conversation

@anands-in
Copy link

cics-java-liberty-jdbc Copyright action.

@anands-in anands-in requested a review from AaronJhaj February 4, 2025 13:36
Copy link
Contributor

@AaronJhaj AaronJhaj left a 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

- uses: actions/checkout@v3
- name: Check Copyright
env:
EXTENSIONS: "*.java"
Copy link
Contributor

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"

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
Copy link
Contributor

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/*"

Copy link
Contributor

@IvanHargreaves IvanHargreaves left a 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.

@AaronJhaj
Copy link
Contributor

AaronJhaj commented Feb 4, 2025

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

@anands-in anands-in merged commit c733676 into cicsts/v6.1 Feb 4, 2025
9 checks passed
@AaronJhaj AaronJhaj deleted the anands/v6.1-copyright-action branch February 20, 2025 12:53
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.

4 participants