mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-21 22:16:24 +00:00
ci: only publish documentation on the main repo
Don't try to publish documentation updates on random forks.
This commit is contained in:
3
.github/workflows/documentation.yml
vendored
3
.github/workflows/documentation.yml
vendored
@@ -20,6 +20,9 @@ permissions:
|
||||
|
||||
jobs:
|
||||
documentation:
|
||||
# Only publish documentation updates on the main repository.
|
||||
if: github.repository == 'libgit2/libgit2'
|
||||
|
||||
name: "Generate documentation"
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user