Skip to content

Commit

Permalink
Revert switch to gh cli
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Sep 2, 2023
1 parent 36674ec commit 2ca430c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/refresh-csl-subtrees.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

permissions:
contents: read
pull-requests: write

jobs:
publish:
Expand Down Expand Up @@ -47,11 +46,10 @@ jobs:
cp buildres/csl/csl-locales/locales-en-US.xml src/main/resources/csl-locales/
git add .
git commit -m"Refresh example styles" || true
- name: Prepare PR
run: |
git checkout -b refresh-csl
git push origin
- name: Create PR
run: gh pr create --title "[Bot] Update CSL styles" --body "Update CSL styles" --label dependencies
env:
GH_TOKEN: ${{ github.token }}
- uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GH_TOKEN_UPDATE_GRADLE_WRAPPER }}
branch: refresh-csl
commit-message: Update CSL styles
title: "[Bot] Update CSL styles"
labels: dependencies

0 comments on commit 2ca430c

Please sign in to comment.