fix workflow

This commit is contained in:
hadar-co
2022-12-08 09:56:22 +02:00
parent b79ff384b9
commit 2fe9028318
+4 -1
View File
@@ -17,6 +17,9 @@ on:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [ $default-branch ] branches: [ $default-branch ]
permissions:
contents: read
jobs: jobs:
datree: datree:
permissions: permissions:
@@ -27,7 +30,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Run Datree policy check - name: Run Datree policy check
continue-on-error: true continue-on-error: true
uses: hadar-co/action-datree@main uses: datreeio/action-datree@de67ae7a5133d719dc794e1b75682cd4c5f94d8a
env: env:
# In order to use the Datree action you will need to have a Datree token. # In order to use the Datree action you will need to have a Datree token.
# See https://hub.datree.io/setup/account-token#1-get-your-account-token-from-the-dashboard to acquire your token. # See https://hub.datree.io/setup/account-token#1-get-your-account-token-from-the-dashboard to acquire your token.