Bump tj-actions/changed-files from 44 to 45 #167
Workflow file for this run
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' && github.ref_name == 'master' | |
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 "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 }} |