]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: avoid running jobs on pull requests
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 11 May 2025 12:06:55 +0000 (14:06 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 12 Jul 2025 04:44:30 +0000 (06:44 +0200)
Jobs run anyway on push. This setting results in duplicate runs.

.github/workflows/lint.yml
.github/workflows/tests.yml

index ba3ae6eb33e837a104592fd765cd5053b97a3713..74556ee58cbd33e5546299be8a127cd95a94afd1 100644 (file)
@@ -6,7 +6,9 @@ on:
     # on.<push|pull_request>.<branches|tags> GitHub Actions docs.
     branches:
       - "*"
-  pull_request:
+  # Note: trying to exclude pull requests because it results in duplicate job
+  # on the commits belonging to pull requests.
+  # pull_request:
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.ref_name }}
index 1f1f82280a2ecd4a4614e87b1f43cb25e1a0afa8..06c92313b2be44d0ed4b32988d5351b3514d33f7 100644 (file)
@@ -6,7 +6,9 @@ on:
     # on.<push|pull_request>.<branches|tags> GitHub Actions docs.
     branches:
       - "*"
-  pull_request:
+  # Note: trying to exclude pull requests because it results in duplicate job
+  # on the commits belonging to pull requests.
+  # pull_request:
   schedule:
     - cron: '48 6 * * *'