test with another external action

This commit is contained in:
pazpi 2026-01-08 13:36:08 +01:00
parent 9a12f54aa8
commit c64e61b443

View file

@ -48,18 +48,13 @@ jobs:
- name: Create Pull Request - name: Create Pull Request
if: steps.changes.outputs.changed == 'true' if: steps.changes.outputs.changed == 'true'
env: uses: https://github.com/timherrm/forgejo-CreatePR@v1
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }} with:
run: | api_url: ${{ forgejo.api_url }}
DATE=$(date +%Y-%m-%d) token: ${{ secrets.FORGEJO_TOKEN }}
repository: ${{ forgejo.repository }}
curl -X POST \ head: ${{ steps.commit.outputs.branch_name }}
-H "Authorization: token $FORGEJO_TOKEN" \ base: master
-H "Content-Type: application/json" \ title: "chore: weekly flake update"
-d '{ body: "Automated flake update from CI.\n\nThis PR updates all flake inputs.\n\n**Note:** Build verification will run automatically on this PR."
"title": "chore: weekly flake update", assignees: "pazpi"
"body": "Automated flake update from CI",
"head": "'"${{ steps.commit.outputs.branch_name }}"'",
"base": "master"
}' \
"${{ forgejo.api_url }}/repos/${{ forgejo.repository }}/pulls"