Repository navigation
Added workflow file to trigger CI for testing pull requests - #4805
MatthiasBSchaefer wants to merge 5 commits into
Conversation
…d in a separate repository)
…ng author for checking membership
|
Since I have no experience with git workflows I'd be glad about reviews from colleagues that have deeper knowledge. |
|
I have tried to look at it based on the GitHub documentation, and to me it seems good with some minor comments:
However, I'm not an expert regarding the security implications (even if seems they are more of an issue for the LTX-machines).
|
AnHeuermann
left a comment
There was a problem hiding this comment.
LGTM!
No obvious unsafe stuff like leaking secrets to a fork PR.
Dependabot is worth a look. Otherwise someone needs to keep actions up to date manually.
- add trigger for the workflow when labeling the PR - only run PR testing for PR targeting master or maint-branches - full-sha for github-script action
|
@AnHeuermann , @HansOlsson
|
In case the workflow was triggered by labeling the PR, it should only run, if the "ready_for_ci" label was added
|
OK, if @AnHeuermann says it's good, I trust him. |
|
But that's not enough... |
|
We'll sort this out tomorrow during the MAP-Lib meeting. |
|
Thanks for adding me as a reviewer of this PR. After reviewing the GitHub workflow file in the context of the, the content and structure of the workflow file generally makes sense to me (with the caveat that I'm not sure exactly how to fully validate the script). However, the aspect which concerns me is the visibility of the workflow run, especially from the perspective of a reviewer. This may be due to the fact that I'm new to looking at this issue and I don't have the full background on the aim of this task, but I don't see how I can easily see the result of the CI trigger workflow from this Pull Request. I expected to be able to see something in the "Checks" tab, which would inform me whether the trigger ran successfully for this PR, but I can only see the checks from the CheckCI.yml file in there. I also looked in the "Actions" tab but this doesn't seem to have workflow runs for this new "CI_ReSim_trigger.yml" only seems to have some older workflow runs in the "CI Resim" section here: https://github.com/modelica/ModelicaStandardLibrary/actions/workflows/PRTesting.yml The answer to this may relate to the Jenkins run, but it's unclear to me how this is performing the action of a third reviewer for approval, as mentioned in the documentation? It may be possible that some tweaks to the documentation would make it clearer how to see the results of this workflow from a given Pull Request, or alternatively I may just require more background information about how this CI works. |
Thanky for your review ! |
This workflow acts only as a trigger.
The regression testing for pull requests itself will be performed in a private repository.
This is neccessary to avoid potential security issues and keep the use of commercial tools private.
The workflow is described in https://github.com/modelica/MA-Internal/blob/master/MA-Projects/MAP-LIB/MeetingMinutes/20261020-Monthly/20261029_RegressionTestingCI_Workflow.pdf
As a result, the workflow will approve the pull request or request changes (including links to reports)