Skip to content

Commit

Permalink
create a pr for quais-docs instead of commit to main
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlincecum committed Jun 27, 2024
1 parent 7ad0a96 commit 2eb0ba7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,18 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4
with:
repository: quais-docs
branch: main
branch: ${{ needs.call-common-workflow.outputs.branch }}
create_branch: true
commit_user_name: ci-dominantstrategies
commit_user_email: [email protected]
env:
HUSKY: 0

- name: Create Pull Request
run: |
PR_BRANCH=${{ needs.call-common-workflow.outputs.branch }}
curl -u ci-dominantstrategies:${{ secrets.GH_PAT }} \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/dominant-strategies/quais-docs/pulls \
-d '{"title":"Update Documentation","head":"'"$PR_BRANCH"'","base":"main","body":"This PR updates the documentation."}'

0 comments on commit 2eb0ba7

Please sign in to comment.