GitHub Action: make fix-all (v6) security#8106
Conversation
Supplement for FreshRSS#810 Follow-up of FreshRSS#8098
|
Not secure See PoC: https://github.com/Inverle/gha-testing/pull/2 Reasons:
https://github.com/actions/github-script/blob/ed597411d8f924073f98dfc5c65a23a2325f34cd/action.yml#L13
|
|
There are probably 2 approaches for doing this safely then:
|
|
I was hopping to be able to find the right permissions to have something simpler, but maybe a GitHub Bot would actually be needed |
this way? |
|
Yes, a bit like Dependabot |
|
I don't know, just as a user isn't it nicer to double check the automated changes before committing? Or do people completely ignore GH sending emails saying the action failed? |
|
Also there's a big risk it'd cause me conflicts. I have to say I'm not fond of some annoying automated bot or action at all really, but maybe that's just me. |
|
The idea would still be to react on We could also reconsider how this readme with i18n is working, as it creates almost systematic merge conflicts and test failures. |
|
For that specifically I'd just update it automatically after a commit on edge, triggered by having touched a file in the translations folder. |
|
Although that could result in many more commits, so possibly never mind. |
So to refine that idea, a "cron" job[1] that runs every three days or less that checks for example [1] It uses the same syntax anyway. |
Yes, that could be fine. See example: |
Supplement for #8100
Follow-up of #8098