Compare commits

..

4 Commits

Author SHA1 Message Date
Lee SangMin 2cd15c0459 https -> http 2023-07-11 10:19:46 +09:00
Tycho Bokdam 77a8952a0f
Merge pull request #221 from iloveitaly/improved-permission-docs
docs: improved github permissions docs
2023-07-05 09:06:32 +02:00
Michael Bianco 271d0f7c49
docs: improved github permissions docs 2023-07-04 11:44:40 -06:00
Tycho Bokdam 9962c3267b
ci: Update versioning.yml 2023-06-22 12:26:08 +02:00
3 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,6 @@ on:
jobs:
run-tag-latest:
runs-on: ubuntu-latest
if: ${{ !env.ACT }}
steps:
- uses: actions/checkout@v2

View File

@ -114,12 +114,19 @@ Make sure to install all required packages in the workflow before executing this
Uses all the defaults
```yaml
permissions:
contents: write
- name: Conventional Changelog Action
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.github_token }}
```
Write permissions are required in order to enable `git push` when a new version is generated. In some configurations, the
default `secrets.github_token` may not have the correct permissions. You can check your default permissions by looking at
"Set up job" section of your GitHub action run log.
Overwrite everything
```yaml

View File

@ -40,7 +40,7 @@ module.exports = new (class Git {
// Update the origin
if (githubToken) {
await this.updateOrigin(`https://x-access-token:${githubToken}@${gitUrl}/${GITHUB_REPOSITORY}.git`)
await this.updateOrigin(`http://x-access-token:${githubToken}@${gitUrl}/${GITHUB_REPOSITORY}.git`)
}
}