[
https://issues.apache.org/jira/browse/RAT-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17794224#comment-17794224
]
Jochen Wiedmann commented on RAT-337:
-------------------------------------
I have no real experience with GitHub actions, so bear with me, if I am making
stupid questions/suggestions.
1.) Rather than pulling the repo in (which would, most likely, involve the
Incubator (in other words: All kinds of bureaucratic processes), I suggest that
we simply copy the files action.yml, json.xsl, and possibly README.md.
2.) The main question for me is the target: Could we simply import these files
into our main repository, or do we really need a separate repository within
Github?
If the latter, we could probably ask Infra for a second repository within the
ASF, with an associated mirror on Github,
Whatever, I would *very much* prefer to have this discussion on the dev@creadur
mailing list, where it belongs, rather than within this issue. Bryan is welcome
to join there.
> 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
>
> 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)