mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Colored pre-commit output
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
56570f887f
commit
80f39400be
6 changed files with 8 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -350,6 +350,7 @@ jobs:
|
||||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||||
env:
|
env:
|
||||||
SKIP: lint-salt,lint-tests
|
SKIP: lint-salt,lint-tests
|
||||||
|
PRE_COMMIT_COLOR: always
|
||||||
run: |
|
run: |
|
||||||
# Run it twice so that pre-commit can fix anything that can be automatically fixed.
|
# Run it twice so that pre-commit can fix anything that can be automatically fixed.
|
||||||
git commit -am "Release v${{ needs.prepare-workflow.outputs.salt-version }}" || \
|
git commit -am "Release v${{ needs.prepare-workflow.outputs.salt-version }}" || \
|
||||||
|
|
1
.github/workflows/nightly.yml
vendored
1
.github/workflows/nightly.yml
vendored
|
@ -399,6 +399,7 @@ jobs:
|
||||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||||
env:
|
env:
|
||||||
SKIP: lint-salt,lint-tests
|
SKIP: lint-salt,lint-tests
|
||||||
|
PRE_COMMIT_COLOR: always
|
||||||
run: |
|
run: |
|
||||||
# Run it twice so that pre-commit can fix anything that can be automatically fixed.
|
# Run it twice so that pre-commit can fix anything that can be automatically fixed.
|
||||||
git commit -am "Release v${{ needs.prepare-workflow.outputs.salt-version }}" || \
|
git commit -am "Release v${{ needs.prepare-workflow.outputs.salt-version }}" || \
|
||||||
|
|
3
.github/workflows/pre-commit-action.yml
vendored
3
.github/workflows/pre-commit-action.yml
vendored
|
@ -26,6 +26,9 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/saltstack/salt-ci-containers/python:3.10
|
image: ghcr.io/saltstack/salt-ci-containers/python:3.10
|
||||||
|
|
||||||
|
env:
|
||||||
|
PRE_COMMIT_COLOR: always
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Install System Deps
|
- name: Install System Deps
|
||||||
|
|
1
.github/workflows/scheduled.yml
vendored
1
.github/workflows/scheduled.yml
vendored
|
@ -384,6 +384,7 @@ jobs:
|
||||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||||
env:
|
env:
|
||||||
SKIP: lint-salt,lint-tests
|
SKIP: lint-salt,lint-tests
|
||||||
|
PRE_COMMIT_COLOR: always
|
||||||
run: |
|
run: |
|
||||||
# Run it twice so that pre-commit can fix anything that can be automatically fixed.
|
# Run it twice so that pre-commit can fix anything that can be automatically fixed.
|
||||||
git commit -am "Release v${{ needs.prepare-workflow.outputs.salt-version }}" || \
|
git commit -am "Release v${{ needs.prepare-workflow.outputs.salt-version }}" || \
|
||||||
|
|
1
.github/workflows/staging.yml
vendored
1
.github/workflows/staging.yml
vendored
|
@ -389,6 +389,7 @@ jobs:
|
||||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||||
env:
|
env:
|
||||||
SKIP: lint-salt,lint-tests
|
SKIP: lint-salt,lint-tests
|
||||||
|
PRE_COMMIT_COLOR: always
|
||||||
run: |
|
run: |
|
||||||
# Run it twice so that pre-commit can fix anything that can be automatically fixed.
|
# Run it twice so that pre-commit can fix anything that can be automatically fixed.
|
||||||
git commit -am "Release v${{ needs.prepare-workflow.outputs.salt-version }}" || \
|
git commit -am "Release v${{ needs.prepare-workflow.outputs.salt-version }}" || \
|
||||||
|
|
1
.github/workflows/templates/ci.yml.jinja
vendored
1
.github/workflows/templates/ci.yml.jinja
vendored
|
@ -155,6 +155,7 @@
|
||||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||||
env:
|
env:
|
||||||
SKIP: lint-salt,lint-tests
|
SKIP: lint-salt,lint-tests
|
||||||
|
PRE_COMMIT_COLOR: always
|
||||||
run: |
|
run: |
|
||||||
# Run it twice so that pre-commit can fix anything that can be automatically fixed.
|
# Run it twice so that pre-commit can fix anything that can be automatically fixed.
|
||||||
git commit -am "Release v${{ needs.prepare-workflow.outputs.salt-version }}" || \
|
git commit -am "Release v${{ needs.prepare-workflow.outputs.salt-version }}" || \
|
||||||
|
|
Loading…
Add table
Reference in a new issue