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