fixing node version #2
This file contains hidden or 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: Generate UNIXENUM JCL | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| generate-jcl: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Generate UNIXENUM.jcl | |
| run: | | |
| cd Unix | |
| chmod +x UNIXENUM.sh | |
| ./UNIXENUM.sh > UNIXENUM.jcl | |
| - name: Commit and push UNIXENUM.jcl | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add Unix/UNIXENUM.jcl | |
| git diff --cached --quiet && echo "No changes to commit" || \ | |
| git commit -m "Auto-generate UNIXENUM.jcl [skip ci]" && git push |