bonitasoft / bonita-documentation-site

The sources of the Bonita Documentation site
https://documentation.bonitasoft.com/
GNU General Public License v2.0
9 stars 5 forks source link

ci: update the secrets used in workflows #662

Closed tbouffard closed 5 months ago

tbouffard commented 5 months ago

Use a token that has "workflow" permission when propagating documentation content. This is required when updating the content of a workflow, otherwise an error occurs: refusing to allow a Personal Access Token to create or update workflow '.github/workflows/push-content.yml' without 'workflow' scope. Use this token also in the "Generate static version" workflow to simplify maintenance (the token used here needs the same permissions).

Notes

The formerly used token has been removed from the configuration and the secrets. According to the GitHub search, the GH_PAT_TOKEN secret was only used in the 2 workflows updated in this PR.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud