mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 16:06:56 +00:00
ci: fix Dockerfile replacement logic on workflow
This commit is contained in:
parent
1788ebdc06
commit
15aa3a746a
1 changed files with 2 additions and 2 deletions
4
.github/workflows/commitlint.yml
vendored
4
.github/workflows/commitlint.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: sed -i -E "s/([']docker:.+)/Dockerfile/" ./action.yml
|
- run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml
|
||||||
- run: echo -n '' > .dockerignore
|
- run: echo -n '' > .dockerignore
|
||||||
- uses: ./
|
- uses: ./
|
||||||
id: run_commitlint
|
id: run_commitlint
|
||||||
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: sed -i -E "s/([']docker:.+)/Dockerfile/" ./action.yml
|
- run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml
|
||||||
- run: echo -n '' > .dockerignore
|
- run: echo -n '' > .dockerignore
|
||||||
- uses: ./
|
- uses: ./
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue