Commit bcd79f5
committed
PR build: when called from forks, publish a Git bundle
When the HTML page(s) are not up to date, the PR build re-generates
them, commits the result and wants to push it to the branch.
However, this only works if the PR branch and the target branch are in
the same repository. Otherwise the workflow run's `GITHUB_TOKEN` lacks
write permission, even if the PR author gave permission to the
maintainers to push to that branch.
Let's fall back to doing the next best thing and publish a Git bundle,
and provide instructions how to fetch from them and update the PR with
those changes.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent c5f311f commit bcd79f5
1 file changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments