mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
The Lint jobs should also run on workflow_dispatch
events
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
b78e13357d
commit
ff8fa7f9dc
1 changed files with 2 additions and 2 deletions
4
.github/workflows/lint-action.yml
vendored
4
.github/workflows/lint-action.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
Salt:
|
Salt:
|
||||||
name: Lint Salt's Source Code
|
name: Lint Salt's Source Code
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' || fromJSON(inputs.changed-files)['salt'] || fromJSON(inputs.changed-files)['lint'] }}
|
if: ${{ contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name) || fromJSON(inputs.changed-files)['salt'] || fromJSON(inputs.changed-files)['lint'] }}
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: python:3.8-slim-buster
|
image: python:3.8-slim-buster
|
||||||
|
@ -61,7 +61,7 @@ jobs:
|
||||||
Tests:
|
Tests:
|
||||||
name: Lint Salt's Test Suite
|
name: Lint Salt's Test Suite
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' || fromJSON(inputs.changed-files)['tests'] || fromJSON(inputs.changed-files)['lint'] }}
|
if: ${{ contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name) || fromJSON(inputs.changed-files)['tests'] || fromJSON(inputs.changed-files)['lint'] }}
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: python:3.8-slim-buster
|
image: python:3.8-slim-buster
|
||||||
|
|
Loading…
Add table
Reference in a new issue