There's no reason extjwt module need to be a common module #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update the module list | |
on: | |
- push | |
jobs: | |
build: | |
if: github.repository == 'inspircd/inspircd-contrib' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Regenerate the module list | |
run: ./regen-modules | |
- name: Commit the updated module list | |
run: | | |
git config --global user.name "InspIRCd Robot" | |
git config --global user.email "[email protected]" | |
git add modules.lst | |
git commit --message "Regenerate the module list." || true | |
- name: Push the updated module list | |
run: git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git ${{ github.ref }} |