add pull-upstream pipeline

This commit is contained in:
Luca Bilke 2024-05-21 21:32:22 +02:00
parent 6434020c7d
commit 4b62896712
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Pull upstream commits
on:
schedule:
- cron: "*/15 * * * *"
jobs:
renovate:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: https://code.forgejo.org/actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Pull upstream
run: |
git pull --rebase=false https://github.com/void-linux/void-packages
- name: Commit
if: ${{ steps.changed.outputs.all_changed_files != '' }}
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4.16.0
with:
commit_user_name: "Johnny5"
commit_user_email: "bot@snaile.de"
commit_author: "Johnny5 <bot@snaile.de>"
commit_message: "Pull upstream"