Ver Fonte

Better syntax in workflows .yml

Petr Penzin há 3 anos atrás
pai
commit
148f9bdbca
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      .github/workflows/agreement.yml

+ 1 - 1
.github/workflows/agreement.yml

@@ -5,7 +5,7 @@ on:
 jobs:
   AgreementCheck:
     runs-on: ubuntu-latest
-    if: github.actor != "dependabot[bot]"
+    if: ${{ github.actor == 'dependabot[bot]' }}
     steps:
       - name: Checkout
         uses: actions/checkout@v2