update changed OS

This commit is contained in:
zenobit 2025-04-09 13:31:47 +02:00 committed by GitHub
parent 2f5257de4a
commit 97dc2cd940
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 35 additions and 0 deletions

35
.github/workflows/update-changed-os.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: "update changed OS"
on:
schedule:
- cron: '0/180 * * * *'
push:
branches: [ "master-patched" ]
paths: 'actions/**'
pull_request:
branches: [ "master-patched" ]
workflow_dispatch:
jobs:
fill:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: fill
run: |
git status
chmod a+x action
git diff --name-only | xargs -n1 ./action | tee /dev/null
git config --global user.name "${{ github.repository_owner }}"
git config --global user.email "noreply@github.com"
- name: push
run: |
git status
git add . || echo "add . failed"
git add --all || echo "add --all failed"
git commit -m "update supported" || echo "commit failed"
git push || echo "push failed"
git status