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

Avoid run tests on branch gh-pages in Heroku #2005

Open
jefer94 opened this issue Jun 7, 2022 · 4 comments
Open

Avoid run tests on branch gh-pages in Heroku #2005

jefer94 opened this issue Jun 7, 2022 · 4 comments

Comments

@jefer94
Copy link

jefer94 commented Jun 7, 2022

The gh-pages is managed by MkDocs, I not want every time MkDocs is deployed with Github Actions with the command mkdocs gh-deploy --force, because that branch never ever would contains tests, that cause the CI in Heroku fail each time this branch is updated, but that is a bad approach and ends by waste the resources and money of Heroku and me

@sbosio
Copy link
Contributor

sbosio commented Jul 1, 2024

Hi @jefer94, can you explain a little bit more in detail what you consider a bad approach.

Am I understanding correctly that you don't want to trigger a CI run when you merge changes that only involve documentation updates generated by mkdocs?

It isn't clear for me if this is specifically a Heroku CLI issue to be reported on this project. I'm not understanding how this relates to the Heroku CLI tool.

We will wait for your answer and review again, or close this report if there's no answer in 30 days.

@jefer94
Copy link
Author

jefer94 commented Jul 1, 2024

Yes it is, I just opened an issue in the first repo more related to the issue, no one says something like "Heroku Test"

@jefer94
Copy link
Author

jefer94 commented Jul 1, 2024

Maybe a manifest or a form would be good to solve this

@sbosio
Copy link
Contributor

sbosio commented Jul 1, 2024

@jefer94 I still don't see a relationship between your request and the Heroku CLI tool.

If you want to avoid Github Actions to run CI tests on pushes to specific branches or when only certain paths are updated on the repository, then you need to update your GH Actions CI workflow with configurations for that.

Is this what you're looking after: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants