]> git.proxmox.com Git - mirror_frr.git/commitdiff
tools: Use specific syntax for conditions for Github actions
authorDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 13 Mar 2023 07:52:13 +0000 (09:52 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 13 Mar 2023 07:52:13 +0000 (09:52 +0200)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
.github/workflows/commitlint.yml

index 06bf3b3b959acb154400203b0b8110420fa4b287..96cd118f3ae1f7ac033acaa995c230b185170dad 100644 (file)
@@ -11,7 +11,7 @@ on:
 
 jobs:
   commitlint:
-    if: github.repository == 'frrouting/frr' && github.base_ref == 'refs/heads/master'
+    if: ${{ github.repository == 'frrouting/frr' }} && ${{ github.base_ref == 'refs/heads/master' }}
     name: Check if the commits meet the requirements of the guidelines
     permissions:
       contents: read