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

Move skip-ci back in front of config fetching #2555

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

anbraten
Copy link
Member

@anbraten anbraten commented Oct 9, 2023

The skip logic should be in a central place and not in the compiler as it also needs to work independent of the compiler.

reverts #2216

solves #2313

@anbraten anbraten added bug Something isn't working regression fix a bug that was not released yet labels Oct 9, 2023
@anbraten anbraten requested a review from a team October 9, 2023 14:42
Copy link
Contributor

@qwerty287 qwerty287 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this solve #2313?

@qwerty287
Copy link
Contributor

Ah I saw it.

@anbraten
Copy link
Member Author

anbraten commented Oct 9, 2023

How does this solve #2313?

Yeah not directly, but it allows to use [skip ci] again without even having a config file present.

In the past, I was able to work around this issue by adding [skip ci] to all commits to branches without a CI config. This is now also broken, see #2216.

@anbraten anbraten merged commit 62d6a6b into woodpecker-ci:main Oct 9, 2023
@anbraten anbraten changed the title Move skip-ci back into central place Move skip-ci back in front of config fetching Oct 9, 2023
@anbraten anbraten deleted the move-skip-ci branch October 9, 2023 16:16
@xoxys
Copy link
Member

xoxys commented Oct 9, 2023

Still not happy with this approach and a bit strange this got merged within hours without any discussion while others were blocked form months... However at least one way back to skip ci...

@6543
Copy link
Member

6543 commented Oct 9, 2023

I considder this a hotfix!!!

@6543
Copy link
Member

6543 commented Oct 9, 2023

a.k.a. workaround!

@anbraten
Copy link
Member Author

I considder this a hotfix!!!

It should stay in the current place. The code is independent of the config-compiler and should work with every compiler we implement in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression fix a bug that was not released yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants