From c58aecdf36ecb392f68ec959b91dea6e78a7aced Mon Sep 17 00:00:00 2001 From: Katsuhiro Yamanaka <29446925+ogis-yamanaka@users.noreply.github.com> Date: Fri, 15 Nov 2024 16:36:08 +0900 Subject: [PATCH] recover pat --- .github/workflows/maven.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d0b9339..93fd863 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,6 +29,7 @@ jobs: with: repository: nautible/nautible-app-ms-product-manifest path: nautible-app-ms-product-manifest + token: ${{ secrets.PAT }} - name: Set up JDK 11 uses: actions/setup-java@v4 with: @@ -157,4 +158,4 @@ jobs: git add . git commit -m "update manifest" git push --set-upstream origin $TAG - curl -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: token $TOKEN" "https://api.github.com/repos/nautible/nautible-app-ms-$APP_NAME-manifest/pulls" -d '{"title": "new image deploy request", "head": "nautible:'$TAG'", "base": "'$BRANCH'"}' -o /dev/null -w 'httpstatus:%{http_code}\n' -s + curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: token $TOKEN" "https://api.github.com/repos/nautible/nautible-app-ms-$APP_NAME-manifest/pulls" -d '{"title": "new image deploy request", "head": "nautible:'$TAG'", "base": "'$BRANCH'"}' -o /dev/null -w 'httpstatus:%{http_code}\n' -s