When using Codeberg Actions, the actions/checkout action allows cloning a different repository than the one that has triggered the workflow, however, if you want to push new commits to that different repository, you have to clone it over SSH, and currently, that requires to either set the ssh-strict parameter to false, or to be manually populate the ssh-known-hosts value with the result of ssh-keyscan codeberg.org. At the same time, per documentation, GitHub keys are already known by default.
I wonder if it's possible to add Codeberg keys in addition to GItHub ones to the default set.
I thought I'd report this issue to the actions/checkout repository, but apparently, it's just a mirror of the equivalent repo on GItHub, and I doubt GItHub would be interested in adding our SSH keys. But I think it should be controllable without modifying the actions/checkout source, since it only references GitHub keys in the docs, but doesn't seem to be doing anything special to default to them.
### Comment
When using Codeberg Actions, the [`actions/checkout`](https://code.forgejo.org/actions/checkout) action allows cloning a different repository than the one that has triggered the workflow, however, if you want to push new commits to that different repository, you have to clone it over SSH, and currently, that requires to either set the `ssh-strict` parameter to `false`, or to be manually populate the `ssh-known-hosts` value with the result of `ssh-keyscan codeberg.org`. At the same time, per documentation, GitHub keys are already known by default.
I wonder if it's possible to add Codeberg keys in addition to GItHub ones to the default set.
I thought I'd report this issue to the [`actions/checkout`](https://code.forgejo.org/actions/checkout) repository, but apparently, it's just a mirror of the equivalent repo on GItHub, and I doubt GItHub would be interested in adding our SSH keys. But I think it should be controllable without modifying the `actions/checkout` source, since it only references GitHub keys in the docs, but doesn't seem to be doing anything special to default to them.