quickemu/.github/workflows/update-supported.yml

39 lines
994 B
YAML

name: "update supported"
on:
#schedule:
#- cron: '0/180 * * * *'
#push:
#branches: [ "master-patched" ]
#paths:
#- .github/workflows/update-supported.yml
#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
./action | tee /dev/null
sort -u < TODO/all | tee TODO/all
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 TODO/all || echo "add TODO/all failed"
git add --all || echo "add --all failed"
git commit -m "update supported" || echo "commit failed"
git push || echo "push failed"
git status