asciidoctor / asciidoctorj

:coffee: Java bindings for Asciidoctor. Asciidoctor on the JVM!
http://asciidoctor.org
Apache License 2.0
617 stars 172 forks source link

(v2.5.x) Ignore docs in ci #1226

Closed abelsromero closed 1 year ago

abelsromero commented 1 year ago

Kind of change

Description

What is the goal of this pull request?

Avoid unnecessary CI runs when modifying docs. Docs are built from docs.asciidoctor., we could have a job to build the docs and ensure they are correct, but right now this is using hardware resources for nothing :earth_africa: :leaves: .

How does it achieve that? Use paths-ignore to ignore the 'docs/**' path.

Are there any alternative ways to implement this? No

Are there any implications of this pull request? Anything a user must know? No

Issue

If this PR fixes an open issue, please add a line of the form:

Fixes #Issue

Release notes

Please add a corresponding entry to the file CHANGELOG.adoc

robertpanzer commented 1 year ago

Looks good! Thanks!