소스 검색

Update pull-request.yml

typos
Matthew R Kasun 2 년 전
부모
커밋
7a44f02013
1개의 변경된 파일4개의 추가작업 그리고 8개의 파일을 삭제
  1. 4 8
      .github/workflows/pull-request.yml

+ 4 - 8
.github/workflows/pull-request.yml

@@ -8,7 +8,7 @@ on:
   workflow_dispatch:
     inputs:
       version:
-        descripton: "netmaker version"
+        description: "netmaker version"
         required: true
 jobs:
   pr-to-main:
@@ -16,12 +16,8 @@ jobs:
     steps:
       - name: create pr
         run: |
-          curl \
-  -X POST \
-  -H 'Accept: application/vnd.github+json' \
-  -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}'\
-  -H 'X-GitHub-Api-Version: 2022-11-28' \
-  https://api.github.com/repos/${{ github.repository }}/pulls \
-  -d '{"title":"{{ github.event.inputs.version }}","head":"release_${{ github.event.inputs.version }}","base":"master"}'
+          curl -X POST -H 'Accept: application/vnd.github+json' -H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}'\
+          -H 'X-GitHub-Api-Version: 2022-11-28'  https://api.github.com/repos/${{ github.repository }}/pulls \
+          -d '{"title":"{{ github.event.inputs.version }}","head":"release_${{ github.event.inputs.version }}","base":"master"}'