From ce5f8941f2a439cb1e2fe3eddfb453d2064de90e Mon Sep 17 00:00:00 2001 From: buffet Date: Mon, 20 May 2024 12:36:40 +0200 Subject: [PATCH] feat: use bot account to create PR This might run CI? --- .forgejo/workflows/update-flake.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/update-flake.yaml b/.forgejo/workflows/update-flake.yaml index d0ef0b1..013cf4f 100644 --- a/.forgejo/workflows/update-flake.yaml +++ b/.forgejo/workflows/update-flake.yaml @@ -1,4 +1,5 @@ on: + push: schedule: - cron: '0 0 * * 1' @@ -27,7 +28,7 @@ jobs: curl -X POST "${{ env.GITHUB_API_URL }}/repos/${{ env.GITHUB_REPOSITORY }}/pulls" --fail -H "Content-Type: application/json" - -H "Authorization: token ${{ env.GITHUB_TOKEN }}" + -H "Authorization: token ${{ secrets.BOT_TOKEN }}" -d '{ "title": "build(flake): update inputs", "body": "",