Update generate-app-headers.yaml

This commit is contained in:
CanbiZ 2025-01-10 13:46:37 +01:00 committed by GitHub
parent cfda535a58
commit 8c6f0ac1de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,8 +6,7 @@ on:
- closed - closed
branches: branches:
- main - main
# Stellen sicher, dass nur gemergte PRs den Workflow auslösen # Trigger nur, wenn der PR gemerged wurde
# Triggern nur wenn der PR gemerged wurde
if: github.event.pull_request.merged == true if: github.event.pull_request.merged == true
schedule: schedule:
- cron: "59 23 * * *" # Führen den Workflow täglich um 23:59 UTC aus - cron: "59 23 * * *" # Führen den Workflow täglich um 23:59 UTC aus
@ -79,7 +78,7 @@ jobs:
PR_URL=$(gh pr create --title "[core]: update .app-headers to latest version" \ PR_URL=$(gh pr create --title "[core]: update .app-headers to latest version" \
--body "This PR automatically updates the .app-headers file." \ --body "This PR automatically updates the .app-headers file." \
--head update-app-headers \ --head update-app-headers \
--base main -q .url) --base main)
echo "PR created: $PR_URL" echo "PR created: $PR_URL"
else else
echo "PR already exists." echo "PR already exists."
@ -99,6 +98,7 @@ jobs:
else else
echo "No PR found to merge." echo "No PR found to merge."
fi fi
# Step 9: Final status output # Step 9: Final status output
- name: Output final status - name: Output final status
run: | run: |