mirror of
https://github.com/creeper2eletricboogaloo/L4JDownloadableContent.git
synced 2026-09-14 03:14:42 +02:00
feat: update links workflow
This commit is contained in:
26
.github/workflows/update-links.yml
vendored
Normal file
26
.github/workflows/update-links.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Update download links
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "17 3 * * 1"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.x"
|
||||
- run: python scripts/update_links.py --write
|
||||
- uses: peter-evans/create-pull-request@v6
|
||||
with:
|
||||
branch: automation/update-links
|
||||
commit-message: Update download links
|
||||
title: Update download links
|
||||
body: Automated link maintenance.
|
||||
Reference in New Issue
Block a user