diff --git a/.gitea/workflows/maintenance.yaml b/.gitea/workflows/maintenance.yaml index e861541..02bf7a5 100644 --- a/.gitea/workflows/maintenance.yaml +++ b/.gitea/workflows/maintenance.yaml @@ -23,33 +23,6 @@ jobs: branch: update/pre-commit-hooks push_options: --force create_branch: true - # - run: | - # curl -X 'POST' \ - # 'https://git.horstenkamp.eu/api/v1/repos/Philipp/gitea-act-create-pr/pulls' \ - # -H 'accept: application/json' \ - # -H 'authorization: Basic auth token' \ - # -H 'Content-Type: application/json' \ - # -d '{ - # "base": "main", - # "body": "string", - # "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: diff --git a/action.yml b/action.yml index 3eb9b2a..3b0d237 100644 --- a/action.yml +++ b/action.yml @@ -16,7 +16,7 @@ inputs: body: description: Body of the pull request required: false - default: Some default tile! + default: Some default body! assignees: description: Comma-separated list of assignees for the pull request required: false diff --git a/index.js b/index.js index 313b3d7..c91cff3 100644 --- a/index.js +++ b/index.js @@ -62,6 +62,7 @@ async function getAndPostPullRequests() { const postResult = await postResponse.json().url; core.info("POST request completed successfully."); + core.info(`Created the post request under: ${postResult}`); return postResult; } catch (error) { core.setFailed(`Action failed with error: ${error}`);