-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,19 +44,17 @@ wget -O - https://raw.githubusercontent.com/treeder/bump/master/gitbump.sh | bas | |
## GitHub Action to bump version | ||
|
||
```yaml | ||
|
||
|
||
name: Bump version | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build-and-deploy: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Bump version | ||
run: | | ||
git config --global user.email "[email protected]" | ||
|
@@ -65,6 +63,15 @@ jobs: | |
wget -O - https://raw.githubusercontent.com/treeder/bump/master/gitbump.sh | bash | ||
``` | ||
If you get this error: | ||
``` | ||
remote: Permission to username/repo.git denied to github-actions[bot]. | ||
fatal: unable to access 'https://github.com/username/repo/': The requested URL returned error: 403 | ||
``` | ||
Go into the repo settings -> actions -> general -> Workflow permissions and give actions read/write access. | ||
## Extra Features | ||
### extract | ||
|