|
|
@ -12,7 +12,7 @@ jobs:
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
fetch-depth: 0 # avoid shallow clone for NBGV
|
|
|
|
fetch-depth: 0 # avoid shallow clone for NBGV
|
|
|
|
token: ${{ secrets.PAT }} # Allows git push
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }} # Allows git push
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set up NBGV
|
|
|
|
- name: Set up NBGV
|
|
|
|
uses: dotnet/nbgv@master
|
|
|
|
uses: dotnet/nbgv@master
|
|
|
@ -46,14 +46,14 @@ jobs:
|
|
|
|
uses: peter-evans/create-pull-request@v3
|
|
|
|
uses: peter-evans/create-pull-request@v3
|
|
|
|
id: cpr
|
|
|
|
id: cpr
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.PAT }}
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
delete-branch: true
|
|
|
|
delete-branch: true
|
|
|
|
base: master
|
|
|
|
base: master
|
|
|
|
|
|
|
|
|
|
|
|
- name: Enable Pull Request Automerge
|
|
|
|
- name: Enable Pull Request Automerge
|
|
|
|
uses: peter-evans/enable-pull-request-automerge@v1
|
|
|
|
uses: peter-evans/enable-pull-request-automerge@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.PAT }}
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
|
|
|
|
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
|
|
|
|
merge-method: merge
|
|
|
|
merge-method: merge
|
|
|
|
title: "Preparation for Release: ${{ env.VERSION }}"
|
|
|
|
title: "Preparation for Release: ${{ env.VERSION }}"
|
|
|
|