m4sterchain opened a new issue, #230:
URL: https://github.com/apache/teaclave-trustzone-sdk/issues/230

   Our existing skywalking-eyes github action might be outdated.
   
   We might need to update the action in order to align with the default 
behavior suggested by `skywaking-eyes`.
   
   ```
   docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes 
header check
   INFO Loading configuration from file: .licenserc.yaml
   INFO Config file .licenserc.yaml does not exist, using the default config
   INFO Totally checked 570 files, valid: 495, invalid: 18, ignored: 57, fixed: 0
   INFO GITHUB_TOKEN is not set, license-eye won't comment on the pull request
   ERROR the following files don't have a valid license header:
   
apache-teaclave-trustzone-sdk-0.6.0/examples/message_passing_interface-rs/ta/Cargo.lock
   
apache-teaclave-trustzone-sdk-0.6.0/examples/secure_db_abstraction-rs/ta/Cargo.lock
   apache-teaclave-trustzone-sdk-0.6.0/examples/serde-rs/ta/Cargo.lock
   apache-teaclave-trustzone-sdk-0.6.0/examples/tls_client-rs/ta/Cargo.lock
   apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/Cargo.lock
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/ca.cert
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/ca.key
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/end.cert
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/end.chain
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/end.fullchain
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/end.key
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/end.req
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/inter.cert
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/inter.key
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/inter.req
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/nistp256.pem
   
apache-teaclave-trustzone-sdk-0.6.0/examples/tls_server-rs/ta/test-ca/ecdsa/nistp384.pem
   apache-teaclave-trustzone-sdk-0.6.0/projects/web3/eth_wallet/ta/Cargo.lock
   ERROR one or more files does not have a valid license header
   ```
   
   The suggested `.licenserc.yaml` would be
   ```
   header:
     license:
       spdx-id: Apache-2.0
       copyright-owner: The Apache Software Foundation
   
     paths:
       - "**"
   
     excludes:
       # Ignore lock files
       - "**/Cargo.lock"
       # Ignore test certificates and keys
       - "**/*.pem"
       - "**/*.key"
       - "**/*.cert"
       - "**/*.chain"
       - "**/*.req"
       # Ignore any generated files in test-ca dirs
       - "**/test-ca/**"
   
     comment: on-failure
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to