Add access token
This commit is contained in:
parent
fa82826376
commit
dd2d738f67
1 changed files with 2 additions and 2 deletions
|
|
@ -61,11 +61,11 @@ jobs:
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
if: steps.changes.outputs.changed == 'true'
|
if: steps.changes.outputs.changed == 'true'
|
||||||
env:
|
env:
|
||||||
FORGEJO_TOKEN : ${{ secrets.FORGEJO_TOKEN }}
|
PR_TOKEN : ${{ secrets.PR_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
echo "Creating PR..."
|
echo "Creating PR..."
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: token $FORGEJO_TOKEN " \
|
-H "Authorization: token $PR_TOKEN " \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"title": "chore: weekly flake update",
|
"title": "chore: weekly flake update",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue