Sponsorship auto-generate v0.1.35
This commit is contained in:
2
.github/workflows/docker_dev.yml
vendored
2
.github/workflows/docker_dev.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
github.repository == 'jokob-sk/Pi.Alert'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
2
.github/workflows/update_sponsors.yml
vendored
2
.github/workflows/update_sponsors.yml
vendored
@@ -2,7 +2,7 @@ name: Update Sponsors
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 10 * * *' # Set your preferred schedule (UTC)
|
||||
- cron: '15 10 * * *' # Set your preferred schedule (UTC)
|
||||
|
||||
jobs:
|
||||
update-readme:
|
||||
|
||||
@@ -92,7 +92,7 @@ def update_readme(sponsors_table):
|
||||
repo_owner = "jokob-sk"
|
||||
repo_name = "Pi.Alert"
|
||||
readme_path = "README.md"
|
||||
|
||||
|
||||
with open(readme_path, "r") as readme_file:
|
||||
readme_content = readme_file.read()
|
||||
|
||||
@@ -125,8 +125,7 @@ def update_readme(sponsors_table):
|
||||
commit_message = "[🤖Automation] Update README with sponsors information"
|
||||
commit_data = {
|
||||
"message": commit_message,
|
||||
"content": updated_content_base64,
|
||||
"sha": readme_data["sha"],
|
||||
"content": updated_content_base64,
|
||||
"branch": "main", # Update the branch name as needed
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user