Update pull-request.yml

typos
This commit is contained in:
Matthew R Kasun 2023-02-22 20:17:34 -05:00 committed by Matthew R Kasun
parent 9038b18745
commit 7a44f02013

View file

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