Created a first draft of this action. #14
@ -35,6 +35,21 @@ jobs:
|
||||
"head": "update/pre-commit-hooks",
|
||||
"title": "Some title"
|
||||
}'
|
||||
- name: Make a curl request
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
curl -X 'POST' \
|
||||
'https://git.horstenkamp.eu/api/v1/repos/Philipp/gitea-act-create-pr/pulls' \
|
||||
-H 'accept: application/json' \
|
||||
-H "Authorization: token ${GITHUB_TOKEN}" \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"base": "main",
|
||||
"body": "string",
|
||||
"head": "update/pre-commit-hooks",
|
||||
"title": "Some title"
|
||||
}'
|
||||
- name: My PR action
|
||||
uses: ./
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user