try regular ci
Some checks failed
CI/CD Pipeline / test (push) Failing after 54s
Update CI/CD Pipeline / update (push) Successful in 1m14s

This commit is contained in:
2024-10-17 18:46:52 +02:00
parent a68dc72639
commit 479826be38
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ name: Update CI/CD Pipeline
on:
schedule:
- cron: '44 * * * *' # Runs the pipeline at the 39th minute of every hour
- cron: '48 * * * *' # Runs the pipeline at the 39th minute of every hour
jobs:
update:
@ -44,7 +44,7 @@ jobs:
if: success()
run: |
if [ -n "$(git log origin/main..HEAD)" ]; then
curl -X POST "https://gitea.example.com/api/v1/repos/{owner}/{repo}/pulls" \
curl -X POST "https://git.hofer.link/api/v1/repos/{owner}/{repo}/pulls" \
-H "Authorization: token $GITEA_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title":"Update laws","head":"update-branch","base":"main","body":"Automated update of laws."}'