|
@@ -56,7 +56,7 @@ jobs:
|
|
|
|
|
|
- name: "Create Parsers badge"
|
|
- name: "Create Parsers badge"
|
|
uses: schneegans/dynamic-badges-action@v1.1.0
|
|
uses: schneegans/dynamic-badges-action@v1.1.0
|
|
- if: ${{ github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
+ if: ${{ github.ref == 'refs/heads/master' && github.repository_owner == 'crowdsecurity' }}
|
|
with:
|
|
with:
|
|
auth: ${{ secrets.GIST_BADGES_SECRET }}
|
|
auth: ${{ secrets.GIST_BADGES_SECRET }}
|
|
gistID: ${{ secrets.GIST_BADGES_ID }}
|
|
gistID: ${{ secrets.GIST_BADGES_ID }}
|
|
@@ -67,7 +67,7 @@ jobs:
|
|
|
|
|
|
- name: "Create Scenarios badge"
|
|
- name: "Create Scenarios badge"
|
|
uses: schneegans/dynamic-badges-action@v1.1.0
|
|
uses: schneegans/dynamic-badges-action@v1.1.0
|
|
- if: ${{ github.ref == 'refs/heads/master' }}
|
|
|
|
|
|
+ if: ${{ github.ref == 'refs/heads/master' && github.repository_owner == 'crowdsecurity' }}
|
|
with:
|
|
with:
|
|
auth: ${{ secrets.GIST_BADGES_SECRET }}
|
|
auth: ${{ secrets.GIST_BADGES_SECRET }}
|
|
gistID: ${{ secrets.GIST_BADGES_ID }}
|
|
gistID: ${{ secrets.GIST_BADGES_ID }}
|