From: Daniele Varrazzo Date: Fri, 12 Sep 2025 14:33:23 +0000 (+0200) Subject: ci: run lint/tests in any branches X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e68c89f98063d3466ae751cca1410a2957b39b11;p=thirdparty%2Fpsycopg.git ci: run lint/tests in any branches The `*` results in branches with a `/` excluded. Also exclude running tests if only docs change. --- diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 74556ee58..af57c2376 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ on: # This should disable running the workflow on tags, according to the # on.. GitHub Actions docs. branches: - - "*" + - "**" # Note: trying to exclude pull requests because it results in duplicate job # on the commits belonging to pull requests. # pull_request: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 67a94fb9d..a458b64ed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,10 @@ on: # This should disable running the workflow on tags, according to the # on.. GitHub Actions docs. branches: - - "*" + - "**" + paths-ignore: + - README.rst + - "docs/*" # Note: trying to exclude pull requests because it results in duplicate job # on the commits belonging to pull requests. # pull_request: