Skip to content

Commit

Permalink
ci: update gh_pages workflow permissions and committer email
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon committed Feb 7, 2025
1 parent 4560b39 commit 7480dab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gh_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ on:
required: false

permissions:
contents: read
contents: write # for peter-evans/create-pull-request to create branch
pull-requests: write # for peter-evans/create-pull-request to create a PR

jobs:
build:
Expand Down Expand Up @@ -51,7 +52,7 @@ jobs:
if: always()
run: |
git add .
git config --local user.email ""
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "Github Actions"
git diff --cached
git commit -a -m "Update api for ${{steps.version.outputs.version}}" || true
Expand Down

0 comments on commit 7480dab

Please sign in to comment.