|
| 1 | +# This workflow uses actions that are not certified by GitHub. |
| 2 | +# They are provided by a third-party and are governed by |
| 3 | +# separate terms of service, privacy policy, and support |
| 4 | +# documentation. |
| 5 | + |
| 6 | +##################################################################################################################################################################### |
| 7 | +# Use this workflow template as a basis for integrating Debricked into your GitHub workflows. # |
| 8 | +# # |
| 9 | +# If you need additional assistance with configuration feel free to contact us via chat or email at support@debricked.com # |
| 10 | +# To learn more about Debricked or contact our team, visit https://debricked.com/ # |
| 11 | +# # |
| 12 | +# To run this workflow, complete the following set-up steps: # |
| 13 | +# # |
| 14 | +# 1. If you don’t have a Debricked account, create one by visiting https://debricked.com/app/en/register # |
| 15 | +# 2. Generate your Debricked access token, by following the steps mentioned in https://portal.debricked.com/administration-47/how-do-i-generate-an-access-token-130 # |
| 16 | +# 3. In GitHub, navigate to the repository # |
| 17 | +# 4. Click on “Settings” (If you cannot see the “Settings” tab, select the dropdown menu, then click “Settings”) # |
| 18 | +# 5. In the “Security” section click on “Secrets and variables”, then click “Actions” # |
| 19 | +# 6. In the “Secrets” tab, click on “New repository secret” # |
| 20 | +# 7. In the “Name” field, type the name of the secret # |
| 21 | +# 8. In the “Secret” field, enter the value of the secret # |
| 22 | +# 9. Click “Add secret” # |
| 23 | +# 10. You should now be ready to use the workflow! # |
| 24 | +##################################################################################################################################################################### |
| 25 | + |
| 26 | +name: Debricked Scan |
| 27 | + |
| 28 | +on: |
| 29 | + push: |
| 30 | + |
| 31 | +permissions: |
| 32 | + contents: read |
| 33 | + |
| 34 | +jobs: |
| 35 | + vulnerabilities-scan: |
| 36 | + name: Vulnerabilities scan |
| 37 | + runs-on: ubuntu-latest |
| 38 | + |
| 39 | + steps: |
| 40 | + - uses: actions/checkout@v4 |
| 41 | + - uses: debricked/actions@v3 |
| 42 | + env: |
| 43 | + DEBRICKED_TOKEN: ${{ secrets.DEBRICKED_TOKEN }} |
0 commit comments