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