From bdc656e5a5bc69bac23c0c0a6c61806f5257ed20 Mon Sep 17 00:00:00 2001 From: Travis Reeder Date: Mon, 8 May 2023 19:31:00 -0700 Subject: [PATCH] Update README.md --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d2f4722..bf21326 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,6 @@ wget -O - https://raw.githubusercontent.com/treeder/bump/master/gitbump.sh | bas ## GitHub Action to bump version ```yaml - - name: Bump version on: @@ -53,10 +51,10 @@ on: 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 "github+actions@gmail.com" @@ -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