Skip to content
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

test #48

Closed
wants to merge 3 commits into from
Closed

test #48

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 3 additions & 15 deletions .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
name: Gitleaks
on:
pull_request:
push:

jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
# v4.1.2
with:
fetch-depth: 0
- name: gitleaks
# bind to major to use latests checks
# kics-scan ignore-line
uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
gitleaks:
uses: notdodo/github-actions/.github/workflows/gitleaks.yml@ec54c76d4a9713ca6150253f38e14f4e4031e4a2
# v0.1.1
6 changes: 4 additions & 2 deletions .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@ on:
- "**.go"
- "go.mod"
- "go.sum"
- ".github/workflows/go-ci.yml"
pull_request:
paths:
- "**.go"
- "go.mod"
- "go.sum"
- ".github/workflows/go-ci.yml"

concurrency:
group: iamme-ci-${{ github.ref }}
cancel-in-progress: true

jobs:
sast:
uses: notdodo/github-actions/.github/workflows/go-security-scan.yml@29b1489bc8c392e2a8355cb29ae1cdb199aa1c1a
uses: notdodo/github-actions/.github/workflows/go-security-scan.yml@941851ae821e4fa40c1752cffda47b50f39949f5

build-and-test:
uses: notdodo/github-actions/.github/workflows/go-build-and-test.yml@29b1489bc8c392e2a8355cb29ae1cdb199aa1c1a
uses: notdodo/github-actions/.github/workflows/go-build-and-test.yml@941851ae821e4fa40c1752cffda47b50f39949f5
1 change: 1 addition & 0 deletions a.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AKIAIOSFODNN7EXAMPLE
1 change: 0 additions & 1 deletion pkg/infra/neo4j/neo4j_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ type neo4jClient struct {
log logging.LogManager
}

//nolint:all
func (c *neo4jClient) setUpDb(session neo4j.SessionWithContext) {
c.log.Info("Flushing the database")
session.Run(context.TODO(), "MATCH (n) DETACH DELETE n;", nil) // #nosec G104
Expand Down
Loading