ソースを参照

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"}'