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 12d949d commit 3f87a7a
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 @@ -48,7 +49,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 commit -a -m "Update api for ${{github.event.release.name}}" || true
- name: Create Pull Request
Expand Down

0 comments on commit 3f87a7a

Please sign in to comment.