Apply the same punishment logic to the v4 version of antiknocker as v3. #131
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@v3 | |
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 "noreply@inspircd.org" | |
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 }} |