Bump stefanzweifel/git-auto-commit-action from 6 to 7 #1689
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 and Commit Files | |
| on: | |
| pull_request: | |
| jobs: | |
| generate-and-commit-files: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| ref: refs/pull/${{ github.event.pull_request.number }}/head | |
| fetch-depth: 0 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: '20.x' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Generate test and review files | |
| run: | | |
| npm run create-all-tests -- --verbose | |
| npm run review-tests | |
| - uses: stefanzweifel/git-auto-commit-action@v7 | |
| if: ${{ matrix.os == 'ubuntu-latest' && github.actor != 'dependabot[bot]' }} | |
| with: | |
| commit_message: Generate .html source files with scripts automatically |