gocurl version ref fix.
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Check if Pull Request Exists
|
- name: Check if Pull Request Exists
|
||||||
id: check-pr
|
id: check-pr
|
||||||
uses: prasiman/gocurl@v1.2.0
|
uses: prasiman/gocurl@v1
|
||||||
with:
|
with:
|
||||||
url: ${{ secrets.RINOA_GITEA_SERVER }}/repos/${{ github.repository_owner }}/pulls?state=open&head=${{ github.repository_owner }}:${{ github.ref_name }}
|
url: ${{ secrets.RINOA_GITEA_SERVER }}/repos/${{ github.repository_owner }}/pulls?state=open&head=${{ github.repository_owner }}:${{ github.ref_name }}
|
||||||
method: GET
|
method: GET
|
||||||
@@ -52,10 +52,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Merge Pull Request
|
- name: Merge Pull Request
|
||||||
if: steps.docker-lint.outcome == 'success'
|
if: steps.docker-lint.outcome == 'success'
|
||||||
uses: prasiman/gocurl@v1.2.0
|
uses: prasiman/gocurl@v1
|
||||||
with:
|
with:
|
||||||
url: ${{ secrets.GITEA_API_URL }}/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/pulls/${{ github.event.pull_request.number }}/merge
|
url: ${{ secrets.GITEA_API_URL }}/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/pulls/${{ github.event.pull_request.number }}/merge
|
||||||
method: POST
|
method: "POST"
|
||||||
headers: |
|
headers: |
|
||||||
Authorization: token ${{ secrets.BOT_GITEA_TOKEN }}
|
Authorization: token ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
Content-Type: application/json
|
Content-Type: application/json
|
||||||
|
|||||||
Reference in New Issue
Block a user