Skip to content

Commit

Permalink
ci: add step to create PR
Browse files Browse the repository at this point in the history
  • Loading branch information
cvn committed Oct 31, 2023
1 parent 5aa332a commit 1c772c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update-docset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,10 @@ jobs:
git add --all .
git commit -m "Update TLDR pages docset to $new_version"
git push --force origin tldr-update
- name: Create pull request to upstream
run: |
cd Dash-User-Contributions
gh pr create --head tldr-update --title "Update TLDR pages docset to $new_version" --body "This is an automated update created by [a workflow](https://github.com/cvn/tldr-python-dash-docset/actions/workflows/update-docset.yml)."
env:
GITHUB_TOKEN: ${{ secrets.DASH_REPO_TOKEN }}

0 comments on commit 1c772c8

Please sign in to comment.