From c64e61b443b31de6de31e2468d75fbc43d36a887 Mon Sep 17 00:00:00 2001 From: pazpi Date: Thu, 8 Jan 2026 13:36:08 +0100 Subject: [PATCH] test with another external action --- .forgejo/workflows/auto-update-pr.yaml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.forgejo/workflows/auto-update-pr.yaml b/.forgejo/workflows/auto-update-pr.yaml index 290b4e4..3f3919f 100644 --- a/.forgejo/workflows/auto-update-pr.yaml +++ b/.forgejo/workflows/auto-update-pr.yaml @@ -48,18 +48,13 @@ jobs: - name: Create Pull Request if: steps.changes.outputs.changed == 'true' - env: - FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }} - run: | - DATE=$(date +%Y-%m-%d) - - curl -X POST \ - -H "Authorization: token $FORGEJO_TOKEN" \ - -H "Content-Type: application/json" \ - -d '{ - "title": "chore: weekly flake update", - "body": "Automated flake update from CI", - "head": "'"${{ steps.commit.outputs.branch_name }}"'", - "base": "master" - }' \ - "${{ forgejo.api_url }}/repos/${{ forgejo.repository }}/pulls" + uses: https://github.com/timherrm/forgejo-CreatePR@v1 + with: + api_url: ${{ forgejo.api_url }} + token: ${{ secrets.FORGEJO_TOKEN }} + repository: ${{ forgejo.repository }} + head: ${{ steps.commit.outputs.branch_name }} + base: master + title: "chore: weekly flake update" + body: "Automated flake update from CI.\n\nThis PR updates all flake inputs.\n\n**Note:** Build verification will run automatically on this PR." + assignees: "pazpi"