diff --git a/.github/workflows/issue-done-on-main-merge.yml b/.github/workflows/issue-done-on-main-merge.yml index 989caed4..578501ff 100644 --- a/.github/workflows/issue-done-on-main-merge.yml +++ b/.github/workflows/issue-done-on-main-merge.yml @@ -21,6 +21,9 @@ jobs: runs-on: ubuntu-latest env: FORGEJO_API_TOKEN: ${{ secrets.FORGEJO_API_TOKEN }} + # Explicit base: in the GitHub Actions env, GITHUB_SERVER_URL points at + # github.com and forgejo-api.mjs would resolve the wrong base (410). + FORGEJO_API_URL: https://git.solla.dev/api/v1 PR_BODY: ${{ github.event.pull_request.body }} steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/plan-issue-ready-on-main-merge.yml b/.github/workflows/plan-issue-ready-on-main-merge.yml index ed3048ea..2213cf1a 100644 --- a/.github/workflows/plan-issue-ready-on-main-merge.yml +++ b/.github/workflows/plan-issue-ready-on-main-merge.yml @@ -35,6 +35,9 @@ jobs: timeout-minutes: 5 env: FORGEJO_API_TOKEN: ${{ secrets.FORGEJO_API_TOKEN }} + # Explicit base: in the GitHub Actions env, GITHUB_SERVER_URL points at + # github.com and forgejo-api.mjs would resolve the wrong base (410). + FORGEJO_API_URL: https://git.solla.dev/api/v1 PR_BODY: ${{ github.event.pull_request.body }} steps: - uses: actions/checkout@v5