mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-10 17:48:25 +08:00
Update pull-request.yml
typos
This commit is contained in:
parent
9038b18745
commit
7a44f02013
1 changed files with 4 additions and 8 deletions
12
.github/workflows/pull-request.yml
vendored
12
.github/workflows/pull-request.yml
vendored
|
@ -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"}'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue