diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index d4fc1dc..f762e7c 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -77,7 +77,7 @@ jobs: run: sudo chown -Rc $UID .git/ - name: Commit and push applied linter fixes if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix') - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }} commit_message: "[MegaLinter] Apply linters fixes" diff --git a/action.yml b/action.yml index 8e8fdf4..6459bf2 100644 --- a/action.yml +++ b/action.yml @@ -44,12 +44,12 @@ runs: - name: Pull changes from sync so we can update the metadata file shell: bash run: git pull - - uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4.16.0 + - uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 with: file_pattern: ".gitattributes **/resources/*" commit_message: "Update resources" commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" - - uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4.16.0 + - uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0 with: file_pattern: "*GitHubPublisher.json" commit_message: "Update GitHubPublisher.json"