[ 
https://issues.apache.org/jira/browse/RAT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18031436#comment-18031436
 ] 

Philipp Ottlinger commented on RAT-337:
---------------------------------------

[~erisu] is there a SNAPSHOT notion within GHA? I wonder if we need 3 
repositories:
* one to keep the action's sources: creadur-rat-action
* one to keep a test project that uses above repo and makes sure it works well: 
creadur-rat-action-test (or could this test be part of the actual action's 
repository?)
* one to keep documentation that will be published to creadur.apache.org: 
creadur-rat-action-site

WDYT?



> Apache RAT - GitHub Action
> --------------------------
>
>                 Key: RAT-337
>                 URL: https://issues.apache.org/jira/browse/RAT-337
>             Project: Apache Rat
>          Issue Type: Wish
>            Reporter: Bryan Ellis
>            Priority: Trivial
>             Fix For: 1.0.0
>
>
> The Release Audit Tool is great for detecting "Unknown Licenses" when missing 
> or when the header license is not Apache.
> In our Apache project, we are using this tool during our release process.
> Many times new files are created without license headers and not noticed 
> until the release phase.  
> For projects that use GitHub and GitHub Action workflows, I believe providing 
> an action that can test on PR submission and push would be beneficial.
> Here is a GitHub Action composite workflow that was created to achieve this 
> goal.
> https://github.com/erisu/apache-rat-action
> And here is the repo I used to test the above action.
> https://github.com/erisu/apache-rat-action-test
> This action only runs on Linux and could be updated to work on macOS. The way 
> it is currently written will not work on Windows.
> If you think this action is useful and would like to take ownership, I could 
> transfer the repo.
> In the above example the GitHub Action usage is:
> {code:java}
> - uses: erisu/apache-rat-action@v1
> {code}
> And if transfered and properly tagged, it could become:
> {code:java}
> - uses: apache/creadur-rat-action@v1
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to