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
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"