Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix actionlint error in GitHub Action workflows #3052

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/auto-update-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:

# Upload MegaLinter artifacts
- name: Archive production artifacts
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: MegaLinter reports
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-DEV.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ jobs:

# Upload MegaLinter artifacts
- name: Archive production artifacts
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: MegaLinter reports
Expand All @@ -236,7 +236,7 @@ jobs:
linter-versions.json

- name: debug
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
run: echo ${{ steps.docker_build.outcome }}

# Clean disk space
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mega-linter-for-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
# Upload MegaLinter artifacts
- name: Archive production artifacts
uses: actions/upload-artifact@v3
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
with:
name: MegaLinter reports
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
# Upload MegaLinter artifacts
- name: Archive production artifacts
uses: actions/upload-artifact@v3
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
with:
name: MegaLinter reports
path: |
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ Note: Can be used with `oxsecurity/megalinter@beta` in your GitHub Action mega-l
- [checkov](https://www.checkov.io/) from 3.0.12 to **3.0.13** on 2023-10-30
<!-- linter-versions-end -->

- Fixes
- Fix actionlint error in GitHub Action workflows

## [v7.5.0] - 2023-10-29

- Core
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ jobs:

# Upload MegaLinter artifacts
- name: Archive production artifacts
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: MegaLinter reports
Expand Down
2 changes: 1 addition & 1 deletion TEMPLATES/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
# Upload MegaLinter artifacts
- name: Archive production artifacts
uses: actions/upload-artifact@v3
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
with:
name: MegaLinter reports
path: |
Expand Down
2 changes: 1 addition & 1 deletion docs/install-github.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:

# Upload MegaLinter artifacts
- name: Archive production artifacts
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: MegaLinter reports
Expand Down
2 changes: 1 addition & 1 deletion docs/reporters/SarifReporter.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you want GitHub to handle the SARIF file to display it in its UI, add the fol

```yaml
- name: Upload MegaLinter scan results to GitHub Security tab
if: ${{ success() }} || ${{ failure() }}
if: success() || failure()
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'megalinter-reports/megalinter-report.sarif'
Expand Down