-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create a pr for quais-docs instead of commit to main
- Loading branch information
1 parent
7ad0a96
commit 2eb0ba7
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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."}' |