-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gitleaks breaks #154
Comments
Also seeing this when my workflow calls gitleaks on github actions
Output:
|
Suspect this is related to #153 which was merged 30 minutes ago, and updated a reference to artifact. |
+1 I got this same error in my actions after the mentioned PR was merged. |
+1 |
+1 pls fix 😢 |
Same here!!! |
I think this is because #153 bumped the dependency without changing how its used. I'd recommend reverting. |
+1 |
+1, same issue in my workflows |
+1 |
Workaround: In your workflow file, use the last working version instead of the latest v2 release by specifying jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gitleaks/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} |
This is a temporary workaround to gitleaks/gitleaks-action#154
gitleaks/gitleaks-action#154 Signed-off-by: Gavin Henry <[email protected]>
Opened pull request that should fix this issue |
Huge thanks to @codykhon for the quick fix. Let me know if it's still broken |
gitleaks-action/v2/dist/index.js:128395
const artifactClient = artifact.create();
^
TypeError: artifact.create is not a function
Gitleaks/gitleaks-action@v2
gitleaks version: 8.16.1
The text was updated successfully, but these errors were encountered: