ci: Add workflow to dispatch updating all workflows of a given repo#624
ci: Add workflow to dispatch updating all workflows of a given repo#624
Conversation
Signed-off-by: Julius Knorr <jus@bitgrid.net>
ec3e36a to
c3692d7
Compare
|
I always had the idea to do it as a cron in the repos, but for that we'd need check sums, so manual adjustments are not overwritten every night again 😅 |
| uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 | ||
| with: | ||
| body: 'Automated update of all workflow templates from https://github.com/${{ github.repository }}' | ||
| branch: 'feat/workflow-auto-update-all' |
There was a problem hiding this comment.
Just noticed this breaks when doing multiple at the same time, will do a follow up fix
|
Hey, unfortunately I don't have admin privileges here. Can someone trigger this workflow for the |
|
Dispatched, though I'm unsure if we need admin permissions even, we could try without as well |
I think the reason might be that anyone with write permission to this repo can retrieve the token otherwise? And thanks for dispatching! |
Draft in nextcloud/spreed#16336 |
It works the other way around: the dispatch only works in this .github repo as only here the secret is added iirc |
This is an adaption of the existing
dispatch-workflow.ymlthat allows app maintainers to easily update their workflows with any that match the ones in the templatesExample pull request with a temporary commit to test run it:
ec3e36a(#624)nextcloud/files_lock#898