tools: Use specific syntax for conditions for Github actions

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2023-03-13 09:52:13 +02:00
parent 3ac291b526
commit b3b0679cb0

View 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