update ci/cd

This commit is contained in:
GenZmeY 2023-12-31 23:04:45 +03:00
parent 263e78ef33
commit a1fe46bf8b
Signed by: GenZmeY
GPG Key ID: 424DA4BC3CB2CF39

View File

@ -41,11 +41,7 @@ jobs:
uses: oxsecurity/megalinter@7e042c726c68415475b05a65a686c612120a1232 uses: oxsecurity/megalinter@7e042c726c68415475b05a65a686c612120a1232
id: ml id: ml
env: env:
VALIDATE_ALL_CODEBASE: >- VALIDATE_ALL_CODEBASE: true
${{
github.event_name == 'push' &&
contains(fromJSON('["refs/heads/main", "refs/heads/master"]'), github.ref)
}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Archive production artifacts - name: Archive production artifacts