From c87543a114a6846a5f82adae22f92cbd34381280 Mon Sep 17 00:00:00 2001 From: Mehdi Karami Date: Fri, 6 Dec 2024 23:59:18 +0330 Subject: [PATCH] Update latex.yml --- .github/workflows/latex.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/latex.yml b/.github/workflows/latex.yml index 441db53..d0f7843 100644 --- a/.github/workflows/latex.yml +++ b/.github/workflows/latex.yml @@ -42,12 +42,8 @@ jobs: - name: Create a Pull Request to the Private Repository run: | - curl -X POST \ - -H "Authorization: token ${{ secrets.SSH_PRIVATE_KEY }}" \ - -d '{ - "title": "Update CV Repository", - "head": "update-cv", # The branch you're creating the PR from - "base": "main", # The branch you're merging into - "body": "Automated PR to update CV" - }' \ + curl -X POST \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -H "Content-Type: application/json" \ + -d '{"title": "Update CV Repository", "head": "update-cv", "base": "main", "body": "Automated PR to update CV"}' \ https://api.github.com/repos/nsswifter/AcademicApplicationDocuments/pulls