diff --git a/.github/workflows/01_lint_me.yml b/.github/workflows/01_lint_me.yml index beb27d5..49aeb32 100644 --- a/.github/workflows/01_lint_me.yml +++ b/.github/workflows/01_lint_me.yml @@ -26,7 +26,7 @@ jobs: uses: github/super-linter/@main env: LINTER_RULES_PATH: / - DEFAULT_BRANCH: main + DEFAULT_BRANCH: ${{ github.ref_name }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VALIDATE_ALL_CODEBASE: true + VALIDATE_ALL_CODEBASE: ${{ github.event_name != 'pull_request' }} VALIDATE_YAML: true diff --git a/kvm_generic.sh b/kvm_generic.sh index 263fc46..ffa2286 100755 --- a/kvm_generic.sh +++ b/kvm_generic.sh @@ -165,5 +165,5 @@ time_diff_seconds=$(((end_time - start_time) / 1000000000)) hours=$((time_diff_seconds / 3600)) minutes=$(((time_diff_seconds % 3600) / 60)) seconds=$((time_diff_seconds % 60)) - echo -e "${GREEN}Packer build took: ${hours} hours, ${minutes} minutes, and ${seconds} seconds.${NC}" +