1*04912a5cSAndreas Gohrname: "Update Info from DokuWiki" 2*04912a5cSAndreas Gohron: 3*04912a5cSAndreas Gohr workflow_dispatch: 4*04912a5cSAndreas Gohr schedule: 5*04912a5cSAndreas Gohr - cron: "0 0 * * *" 6*04912a5cSAndreas Gohr 7*04912a5cSAndreas Gohrjobs: 8*04912a5cSAndreas Gohr update: 9*04912a5cSAndreas Gohr name: Update the event name list 10*04912a5cSAndreas Gohr runs-on: Ubuntu-latest 11*04912a5cSAndreas Gohr steps: 12*04912a5cSAndreas Gohr - name: Install pup 13*04912a5cSAndreas Gohr run: | 14*04912a5cSAndreas Gohr wget https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_linux_amd64.zip 15*04912a5cSAndreas Gohr unzip pup_v0.4.0_linux_amd64.zip 16*04912a5cSAndreas Gohr rm pup_v0.4.0_linux_amd64.zip 17*04912a5cSAndreas Gohr sudo mv pup /usr/local/bin 18*04912a5cSAndreas Gohr 19*04912a5cSAndreas Gohr - name: Checkout 20*04912a5cSAndreas Gohr uses: actions/checkout@v3 21*04912a5cSAndreas Gohr with: 22*04912a5cSAndreas Gohr fetch-depth: 0 23*04912a5cSAndreas Gohr 24*04912a5cSAndreas Gohr - name: Download Event Names 25*04912a5cSAndreas Gohr run: | 26*04912a5cSAndreas Gohr curl https://www.dokuwiki.org/devel:events_list |pup 'table.dataplugin_table td.title a text{}' > events.txt 27*04912a5cSAndreas Gohr 28*04912a5cSAndreas Gohr - name: Create Pull Request 29*04912a5cSAndreas Gohr uses: peter-evans/create-pull-request@v4 30*04912a5cSAndreas Gohr with: 31*04912a5cSAndreas Gohr commit-message: "Update event names" 32*04912a5cSAndreas Gohr title: "Update event names" 33*04912a5cSAndreas Gohr body: "This updates the list of action events supported by DokuWiki" 34*04912a5cSAndreas Gohr delete-branch: true 35