@@ -25,12 +25,12 @@ jobs:
2525 steps :
2626 # Git Checkout
2727 - name : Harden Runner
28- uses : step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
28+ uses : step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
2929 with :
3030 egress-policy : audit
3131
3232 - name : Checkout Code
33- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 .0.0
33+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 .0.1
3434 with :
3535 token : ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
3636 fetch-depth : 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances
4040 id : ml
4141 # You can override MegaLinter flavor used to have faster performances
4242 # More info at https://megalinter.io/flavors/
43- uses : oxsecurity/megalinter/flavors/python@62c799d895af9bcbca5eacfebca29d527f125a57 # v9.1 .0
43+ uses : oxsecurity/megalinter/flavors/python@55a59b24a441e0e1943080d4a512d827710d4a9d # v9.2 .0
4444 env :
4545 # All available variables are described in documentation
4646 # https://megalinter.io/configuration/
5151 # Upload MegaLinter artifacts
5252 - name : Archive production artifacts
5353 if : ${{ success() || failure() }}
54- uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5 .0.0
54+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6 .0.0
5555 with :
5656 name : MegaLinter reports
5757 path : |
6262 - name : Create Pull Request with applied fixes
6363 id : cpr
6464 if : steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
65- uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7 .0.8
65+ uses : peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8 .0.0
6666 with :
6767 token : ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
6868 commit-message : " [MegaLinter] Apply linters automatic fixes"
8080 run : sudo chown -Rc $UID .git/
8181 - name : Commit and push applied linter fixes
8282 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')
83- uses : stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0 .0
83+ uses : stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1 .0
8484 with :
8585 branch : ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
8686 commit_message : " [MegaLinter] Apply linters fixes"
0 commit comments