Compare commits
4 Commits
v3.19.0
...
releases/v
Author | SHA1 | Date |
---|---|---|
|
2cd15c0459 | |
|
77a8952a0f | |
|
271d0f7c49 | |
|
9962c3267b |
|
@ -7,7 +7,6 @@ on:
|
|||
jobs:
|
||||
run-tag-latest:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !env.ACT }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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`)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue