Comments (2)
@jose-gataca you must use actions/checkout before the gitleaks-action step. If you are using actions/checkout@v2 you must specify a commit depth other than the default which is 1.
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Git Leaks
uses: zricethezav/gitleaks-action@master
Using a fetch-depth of '0' clones the entire history. If you want to do a more efficient clone, use '2', but that is not guaranteed to work with pull requests.
from gitleaks-action.
What they said ^
from gitleaks-action.
Related Issues (20)
- Update `set-output` command HOT 4
- Add free license for free Organizations HOT 3
- pass checkout path?
- Pull requests getting stuck waiting for status to be reported
- GitLeaks making Error with "Invalid revision range" HOT 2
- merge_group event
- Action not working on reusable workflows HOT 1
- Gitleaks Summary Generated Urls Broken
- incorrectly constructed download URL for some architectures HOT 1
- Problem when adding workflow_dispatch
- Failed with Self hosted GitHub Runner HOT 3
- Can't use 'tar -xzf' extract archive file. return code: 2. HOT 2
- Can not install gitleaks for selfhosted runner (Destination file path /tmp/gitleaks.tmp already exists) HOT 1
- Support running gitleaks-action on schedule HOT 3
- Erros on fetch-depth > 0
- Track timestamp of last repo scan for more billing flexibility HOT 6
- Comment on PR review fails even for small diff HOT 3
- GitHub Security tab: Improve readability of subject line HOT 1
- Support running gitleaks-action on `pull_request_target` HOT 2
- Improve error message for MACHINE_LIMIT_EXCEEDED failure HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitleaks-action.