Why
The github-wiki-action action is a good alternative for our current publish-wiki-action as it doesn't require any input variables as well as the PAT, which helps us to use the action easier and less confused by the values of current input variables.
🔑 In order to successfully push to the .wiki.git Git repository that backs the wiki tab, we need the contents: write permission! Make sure you have something like shown above either for your entire workflow, or just for one particular job. This will give the auto-generated ${{ github.token }} that we use by default permission to push to the .wiki.git repo of the repository that the action runs on.
As described in the action documentation, we don't need to generate the Personal Access Token (PAT) to push the wiki, just simply leverage the token from Github (${{ github.token }}).
Related thread on Slack: https://nimble-co.slack.com/archives/CSQG2QXFX/p1698199200680339.
Who Benefits?
Everyone.
Why
The github-wiki-action action is a good alternative for our current publish-wiki-action as it doesn't require any input variables as well as the PAT, which helps us to use the action easier and less confused by the values of current input variables.
As described in the action documentation, we don't need to generate the Personal Access Token (PAT) to push the wiki, just simply leverage the token from Github (
${{ github.token }}).Related thread on Slack: https://nimble-co.slack.com/archives/CSQG2QXFX/p1698199200680339.
Who Benefits?
Everyone.