Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
shaynafinocchiaro committed Nov 8, 2024
1 parent d23949d commit 07eeb6a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 38 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
name: Workflow
on:
on: # yamllint disable-line rule:truthy
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
sanitize:
name: Check for forbidden words
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Run the forbidden words scan
uses: dell/common-github-actions/code-sanitizer@main
with:
args: /github/workspace

image_security_scan:
name: Image Scanner
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/common-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
uses: dell/common-github-actions/.github/workflows/go-static-analysis.yaml@main
name: Golang Validation

# checks unit tests, package coverage, and gosec
common:
name: Run gosec, unit tests, and check package coverage
name: Quality Checks
uses: dell/common-github-actions/.github/workflows/go-common.yml@main
31 changes: 0 additions & 31 deletions .github/workflows/linters.yaml

This file was deleted.

5 changes: 2 additions & 3 deletions deploy/self-cert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@ spec:
selfSigned: {}

---

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: karavi-auth
namespace: karavi
spec:
secretName: karavi-auth-tls
duration: 2160h # 90d
renewBefore: 360h # 15d
duration: 2160h # 90d
renewBefore: 360h # 15d
subject:
organizations:
- dellemc

Check failure on line 21 in deploy/self-cert.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

21:5 [indentation] wrong indentation: expected 6 but found 4
Expand Down
2 changes: 1 addition & 1 deletion tokens.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ tokenString: "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
AccessToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJrYXJhdmkiLCJleHAiOjExMTQ0ODQ4ODMsImlzcyI6ImNvbS5kZWxsLmthcmF2aSIsInN1YiI6ImthcmF2aS10ZW5hbnQiLCJyb2xlcyI6IkNBLW1lZGl1bSIsImdyb3VwIjoiUGFuY2FrZUdyb3VwIn0.IE4yX53JaGwHZigD299ROtt0OH6DhUWGqejcLQ9N-xU"
RefreshToken: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJrYXJhdmkiLCJleHAiOjE5MTU1ODU4ODMsImlzcyI6ImNvbS5kZWxsLmthcmF2aSIsInN1YiI6ImthcmF2aS10ZW5hbnQiLCJyb2xlcyI6IkNBLW1lZGl1bSIsImdyb3VwIjoiUGFuY2FrZUdyb3VwIn0.7fljbEr3ylTGO7MeeEk-jv4-QzxhcQaXjDAXXvmo9zI"
secondToken: "YWRtaW46MTYxMDU3OTI1NjMyMjo2MGFiNTIyYTcxYjEwMGM3ZTdlYzRhMDU3MDA1MjNhMw"
firstToken: "YWRtaW46MTYxMDUxNzk5NDQxODpjYzBkMGEwMmUwYzNiODUxOTM1NWMxZThkNTcwZWEwNA"
firstToken: "YWRtaW46MTYxMDUxNzk5NDQxODpjYzBkMGEwMmUwYzNiODUxOTM1NWMxZThkNTcwZWEwNA"

0 comments on commit 07eeb6a

Please sign in to comment.