Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add should skip check to build #6

Merged
merged 1 commit into from
Apr 22, 2023
Merged

Add should skip check to build #6

merged 1 commit into from
Apr 22, 2023

Conversation

calumy
Copy link
Owner

@calumy calumy commented Apr 22, 2023

Add a condition to check if the global should skip result is true before evaluating stage conditions.

Snippet from fkirc/skip-duplicate-actions docs.

    # If 'skip-duplicate-actions' terminates before the paths checks are performed (for example, when a successful duplicate run has
    # been found) 'paths_result' outputs an empty object ('{}'). This can be easily intercepted in the if condition of a job
    # by checking the result of the "global" 'should_skip' output first.

@calumy calumy self-assigned this Apr 22, 2023
@calumy calumy merged commit f65f030 into main Apr 22, 2023
@calumy calumy deleted the add-should-skip branch April 22, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant