|
@@ -8,7 +8,7 @@ on:
|
|
workflow_dispatch:
|
|
workflow_dispatch:
|
|
inputs:
|
|
inputs:
|
|
version:
|
|
version:
|
|
- descripton: "netmaker version"
|
|
|
|
|
|
+ description: "netmaker version"
|
|
required: true
|
|
required: true
|
|
jobs:
|
|
jobs:
|
|
pr-to-main:
|
|
pr-to-main:
|
|
@@ -16,12 +16,8 @@ jobs:
|
|
steps:
|
|
steps:
|
|
- name: create pr
|
|
- name: create pr
|
|
run: |
|
|
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"}'
|
|
|
|
|
|
|
|
|