Update the publish wiki action that can work without the need of input variables
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- github-actions
- Área
- ci-cd
Línea de trabajo
Inspect the workflow that currently uses publish-wiki-action and compare it with the github-wiki-action documentation. Replace the current action configuration so wiki publishing uses GitHub's token without PAT or input variables, and ensure the workflow or job has contents: write permission; done means the wiki publishes successfully.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.gitGit 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.
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 3
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nimblehq/github-actions-workflows
-
type : feature
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
-
type : bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
Todos los issues de nimblehq/github-actions-workflows
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
greenelab/lab-website-template#357 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
PolicyEngine/givecalc#95 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
PolicyEngine/crfb-tob-impacts#132 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
PolicyEngine/cliff-watch#43 ·