Open Ash258 opened 5 years ago
Rework test-hash function to be reusable.
There is no need to do it this hard way. Keep it capturing streams and wait for binaries rework
Resolve how to run tests in context of pull request files
DONE
Try PR from forked repository
DONE
Basic implementation is done.
Now comes more problematic things:
- Install check
- Format check
Issue description
When invoking from forked repository, context is on current repository not forked.
Investigate how to do it with push event
Rather do it with custom cloning forked repository
Add more license checks:
- [x] If property exists
- [ ] If it is valid spdx identifier
- [ ] No? Is there URL?
```md
- [ ] License
- [ ] Valid SPDX Identifier
- [ ] Invalid + URL
```
This will require adding $Indent
switch to create-new-checklist function
Add note about log:
Please see run log for pure result of all checks
Forked repositories are now covered and working.
Pull request comments with /verify
are handled
For first release this is enough.
Install and format will come in future versions
Triggers
/verify
to trigger action againTest-PRFile
functionChecks
Expected comment:
Implementation:
Best possible to temporary save into some hashtable:
@{name = 'Manifest1'; 'Checkver' = Passed; 'Properties': 'OK | list of failed properties'}