Use workflow without having namespace.collection as repository name? #115
|
Hi community, After having a look at another repository that uses this workflow (https://github.com/svalabs/sva.sentinelone) I think this might be related to the repository name that doesn't follow the build-docs:
permissions:
contents: read
name: Build Ansible Docs
uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-pr.yml@main
with:
init-lenient: true
init-fail-on-error: false
collection-name: uyuni_project.uyuni
render-file-line: '> * `$<status>` [$<path_tail>](https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/pr/${{ github.event.number }}/$<path_tail>)'The error is the still the same - is it also possible to use a different repository name? Thanks a lot in advance! |
Replies: 1 comment 1 reply
|
You don't seem to pass |
You don't seem to pass
collection-nameto the workflows, see theInputs:list inSet up jobof https://github.com/uyuni-project/ansible-collection-uyuni/actions/runs/27944656976/job/82686243120?pr=8#step:1:37 and https://github.com/uyuni-project/ansible-collection-uyuni/actions/runs/27944656976/job/82686243067?pr=8#step:1:39. There's also nocollection-namein https://github.com/uyuni-project/ansible-collection-uyuni/blob/main/.github/workflows/pr-with-publish-to-gh-pages.yml. You need to add it there (in themainbranch, since it uses thepull_request_targettrigger!) for it to work.