Skip to content

Commit

Permalink
Nothing useful
Browse files Browse the repository at this point in the history
  • Loading branch information
vint21h committed Aug 2, 2022
1 parent 1c74e2b commit eed07f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ security policy is very simple: supported only the last major or minor branch.

| Version | Supported |
|---------| ------------------ |
| 0.2.x | :white_check_mark: |
| 0.3.x | :white_check_mark: |

## Reporting a Vulnerability

Expand Down
10 changes: 8 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,20 @@ runs:
- name: "Install pre-commit-config-shellcheck: ${{ env.PRE_COMMIT_CONFIG_SHELLCHECK_VERSION }}"
id: "install-pre-commit-config-shellcheck"
env:
VIRTUAL_ENV: "/opt/.env"
PRE_COMMIT_CONFIG_SHELLCHECK_VERSION: "0.3.1"
shell: "bash"
run: "python -m pip install pre-commit-config-shellcheck==${{ env.PRE_COMMIT_CONFIG_SHELLCHECK_VERSION }}"
run: |
set -eau pipefail; \
python -m venv "${VIRTUAL_ENV}"; \
python -m pip install pre-commit-config-shellcheck==${{ env.PRE_COMMIT_CONFIG_SHELLCHECK_VERSION }}
- name: "Run pre-commit-config-shellcheck: ${{ inputs.config }}"
id: "run-pre-commit-config-shellcheck"
env:
VIRTUAL_ENV: "/opt/.env"
shell: "bash"
run: |
set -eau pipefail; \
SHELLCHECK_RESULT=pre_commit_config_shellcheck.py ${{ inputs.config }}; \
SHELLCHECK_RESULT=$(pre_commit_config_shellcheck.py ${{ inputs.config }}); \
echo "${SHELLCHECK_RESULT}"; \
echo "::set-output name=shellcheck-result::\"${SHELLCHECK_RESULT}\""

0 comments on commit eed07f2

Please sign in to comment.