Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
# Git Checkout
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances
Expand All @@ -37,7 +37,7 @@ jobs:
- name: MegaLinter
id: ml
# More info at https://megalinter.io/latest/flavors/
uses: oxsecurity/megalinter/flavors/python@ec124f7998718d79379a3c5b39f5359952baf21d # v8.4.2
uses: oxsecurity/megalinter/flavors/python@62c799d895af9bcbca5eacfebca29d527f125a57 # v9.1.0
env:
# All available variables are described in documentation
# https://megalinter.io/latest/configuration/
Expand All @@ -48,7 +48,7 @@ jobs:
# Upload MegaLinter artifacts
- name: Archive production artifacts
if: success()|| failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: MegaLinter reports
path: |
Expand Down Expand Up @@ -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@v5
uses: stefanzweifel/git-auto-commit-action@v7
with:
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
commit_message: "[MegaLinter] Apply linters fixes"
Expand Down
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
- run: echo "GITHUB_TOKEN=${{ github.token }}" >> $GITHUB_ENV
if: ${{ !env.GITHUB_TOKEN }}
shell: bash
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
lfs: true
token: ${{ env.GITHUB_TOKEN }}
Expand All @@ -34,7 +34,7 @@ runs:
- name: Install pipenv
shell: bash
run: pip install --user pipenv
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6
with:
python-version-file: "${{ github.action_path }}/.python-version"
- name: Install dependencies
Expand Down Expand Up @@ -62,13 +62,13 @@ runs:
if: ${{ !env.DRY_RUN && !cancelled() }}
shell: bash
run: git pull
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0
- uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
if: ${{ !env.DRY_RUN && !cancelled() }}
with:
file_pattern: "${{ inputs.collection-directory-path || inputs.collection_directory_path }}/**/resources/*"
commit_message: "Update resources"
commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0
- uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
if: ${{ !env.DRY_RUN && !cancelled() }}
with:
file_pattern: "${{ inputs.collection-directory-path || inputs.collection_directory_path }}/GitHubPublisher.json"
Expand Down