From 79f76b65f80079c116d0345abc0da5817292240d Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 19 Nov 2023 20:02:33 +0100 Subject: [PATCH] Fixed some thing. --- .gitea/workflows/maintenance.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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: