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

ci: update renovate.json; disable setup-go cache #77

Merged
merged 3 commits into from
Jun 6, 2024
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/bulwark-golicenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ concurrency:
jobs:
golicense-pr-scan:
runs-on: [self-hosted, Linux, X64, validator]
container:
image: gcr.io/spectro-images-public/golang:1.22-alpine
steps:
- name: install-git
run: sudo apt-get install -y git

- name: checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4

- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5
with:
cache: false
go-version-file: go.mod

- name: install-golicenses
run: go install github.com/google/go-licenses@v1.0.0
run: go install github.com/google/go-licenses@latest

- name: golicense-scan
run: |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/bulwark-gosec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ jobs:
env:
REPO: ${{ github.event.repository.name }}
steps:
- name: checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4

- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5
with:
go-version: '1.21'

- name: checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
cache: false
go-version-file: go.mod

- name: run-gosec-scan
shell: sh
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5
with:
cache: false
go-version-file: go.mod

- name: Test
Expand Down
20 changes: 20 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"gomodMassage"
],
"packageRules": [
{
"matchUpdateTypes": ["pin", "pinDigest", "digest"],
"addLabels": ["pin"],
"automerge": true
},
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
Expand All @@ -26,10 +31,25 @@
"addLabels": ["github_actions"],
"automerge": true
},
{
"matchManagers": ["crossplane"],
"addLabels": ["crossplane"],
"automerge": true
},
{
"matchManagers": ["dockerfile"],
"addLabels": ["docker"],
"automerge": true
},
{
"matchManagers": ["kustomize"],
"addLabels": ["kustomize"],
"automerge": true
},
{
"matchManagers": ["helm-values"],
"addLabels": ["helm_values"],
"automerge": true
}
],
"regexManagers": [
Expand Down