Skip to content

Commit 966229f

Browse files
committed
api_refs.yaml: Fix branch push and PR create
1 parent 07dbfe0 commit 966229f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/api_refs.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,15 @@ jobs:
3434
# TODO: Composer auth?
3535
run: tools/php_api_ref/phpdoc.sh
3636

37-
- name: Commit and push
37+
- name: Commit
3838
run: |
3939
git config --global user.name "${GITHUB_ACTOR}"
4040
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
41-
git checkout -b ${{ steps.version_and_branches.outputs.work_branch }}
42-
#git push --set-upstream origin ${{ steps.version_and_branches.outputs.work_branch }}
4341
git add docs/api/php_api/php_api_reference/ tools/php_api_ref/.phpdoc/template/package-edition-map.twig
4442
git commit -m "PHP API Ref HTML"
4543
#TODO: git add doc/api/rest_api/rest_api_reference/rest_api_reference.html
4644
#TODO: git commit -m "REST API Ref HTML"
4745
#TODO: permission to push? Use an action? https://github.com/marketplace/actions/github-push
48-
#git push
4946
5047
- name: Create Pull Request
5148
uses: peter-evans/create-pull-request@v7

0 commit comments

Comments
 (0)