diff --git a/.gitea/workflows/maintenance.yaml b/.gitea/workflows/maintenance.yaml index e9bc689..ecc57d1 100644 --- a/.gitea/workflows/maintenance.yaml +++ b/.gitea/workflows/maintenance.yaml @@ -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: