Merge pull request #12982 from opensourcerouting/fix/commmitlint_condition

tools: Use specific syntax for conditions for Github actions
This commit is contained in:
Mark Stapp 2023-03-15 08:20:48 -04:00 committed by GitHub
commit b8d099e02b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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