Skip to content

Commit

Permalink
ci: update permission
Browse files Browse the repository at this point in the history
  • Loading branch information
manhinhang committed Apr 16, 2024
1 parent a09b807 commit 80f2949
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/detect-new-ver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
contents: write
issues: write
env:
IMAGE_NAME: ib-gateway-docker
Expand Down Expand Up @@ -48,10 +48,11 @@ jobs:
git pull
git checkout -b "$branch" origin/master
# Update files
cp README.update README.md
cp Dockerfile.update Dockerfile
cp README.update README.m
cp Dockerfile.update Dockderfile
#####
git add *
git add README.md
git add Dockderfile
git commit -m 'Update to `${{ steps.check-update.outputs.ib-gateway-ver }}`'
git push --set-upstream origin "$branch"
Expand Down

0 comments on commit 80f2949

Please sign in to comment.