Skip to content

Commit 8287a11

Browse files
committed
fix: merge two step to one step
1 parent 3c999b7 commit 8287a11

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ inputs:
3636
runs:
3737
using: "composite"
3838
steps:
39-
- name: Install action dependencies
39+
- name: Install dependencies and run commit-check
4040
shell: bash
4141
run: |
4242
if [[ "$RUNNER_OS" == "Linux" ]]; then
@@ -46,9 +46,7 @@ runs:
4646
python3 -m venv venv
4747
source venv/bin/activate
4848
python3 -m pip install -r "$GITHUB_ACTION_PATH/requirements.txt"
49-
- name: Run commit-check
50-
shell: bash
51-
run: python3 "$GITHUB_ACTION_PATH/main.py"
49+
python3 "$GITHUB_ACTION_PATH/main.py"
5250
env:
5351
MESSAGE: ${{ inputs.message }}
5452
BRANCH: ${{ inputs.branch }}

0 commit comments

Comments
 (0)