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

GitHub actions still runs #4

Open
Haroenv opened this issue Sep 23, 2019 · 6 comments
Open

GitHub actions still runs #4

Haroenv opened this issue Sep 23, 2019 · 6 comments

Comments

@Haroenv
Copy link

Haroenv commented Sep 23, 2019

Not sure if this was on purpose, but it seems like github actions runs on [ci skip] for you (and also in my testing ⭕️

@srz-zumix
Copy link
Owner

Thank you for teaching me.
fixed ca0c451

@Haroenv
Copy link
Author

Haroenv commented Sep 24, 2019

thanks! Looks like their conditionals are with if, but I don't see an obvious way of reproducing it

see: https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstepsif

@srz-zumix
Copy link
Owner

I tried workaround.
https://github.com/srz-zumix/ci-skip/blob/master/.github/workflows/main.yml#L15

Skip if there is [gh skip] in the head comment.
(I want to skip the job, but it still...)

thanks!

@Haroenv
Copy link
Author

Haroenv commented Sep 26, 2019

That looks useful, thanks for investigating!

@srz-zumix
Copy link
Owner

Good news!
"job.if" can be used.
GitHub Actions - new workflow syntax features - The GitHub Blog

Updated workaround.
https://github.com/srz-zumix/ci-skip/blob/master/docs/github/WORKAROUND.md

@Haroenv
Copy link
Author

Haroenv commented Oct 3, 2019

That’s nice, makes a lot more sense

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

No branches or pull requests

2 participants