add files for new action

This commit is contained in:
Rustam Tagaev
2024-04-11 12:34:18 +03:00
parent 4e00823e57
commit 180d10f81d
4 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
---
name: Check license
run-name: ${{ gitea.actor }} is start check sources
on: [push]
# on: [pull_request]
jobs:
scan-secrets:
name: Check license
runs-on: docker
container:
image: harbor.avroid.tech/docker-hub-proxy/node:20-alpine3.19
steps:
- run: echo "Start job on ${{ runner.name }} with os ${{ runner.os }}"
- run: echo "Work with branch ${{ gitea.ref }} repository ${{ gitea.repository }}"
- name: Check out repository code
uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Mirrors/github-actions-checkout.git@v4
with:
fetch-depth: 0 # for work tj-actions/changed-files
persist-credentials: false # for work tj-actions/changed-files
- name: Scan for secrets
uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/gitleaks-docker-action.git@v1