Debug 404 error create PR

This commit is contained in:
pazpi 2026-01-08 13:56:33 +01:00
parent fa82993b47
commit ad36335f71

View file

@ -46,11 +46,19 @@ jobs:
echo "branch_name=$BRANCH_NAME" >> $FORGEJO_OUTPUT echo "branch_name=$BRANCH_NAME" >> $FORGEJO_OUTPUT
echo "Created and pushed branch: $BRANCH_NAME" echo "Created and pushed branch: $BRANCH_NAME"
- name: Debug API values
if: steps.changes.outputs.changed == 'true'
run: |
echo "API URL: ${{ forgejo.api_url }}"
echo "Server URL: ${{ forgejo.server_url }}"
echo "Repository: ${{ forgejo.repository }}"
echo "Branch: ${{ steps.commit.outputs.branch_name }}"
- name: Create Pull Request - name: Create Pull Request
if: steps.changes.outputs.changed == 'true' if: steps.changes.outputs.changed == 'true'
uses: https://github.com/timherrm/forgejo-CreatePR@main uses: https://github.com/timherrm/forgejo-CreatePR@main
with: with:
api_url: ${{ forgejo.api_url }} api_url: ${{ forgejo.server_url }}/api/v1
token: ${{ secrets.FORGEJO_TOKEN }} token: ${{ secrets.FORGEJO_TOKEN }}
repository: ${{ forgejo.repository }} repository: ${{ forgejo.repository }}
head: ${{ steps.commit.outputs.branch_name }} head: ${{ steps.commit.outputs.branch_name }}