Skip to content

Commit d88320e

Browse files
author
serverless-qe
committed
[release-v1.16] Sync Konflux configurations
1 parent 9473168 commit d88320e

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
name: Dependabot
3+
4+
on:
5+
pull_request:
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
update-deps:
12+
name: Update deps
13+
runs-on: ubuntu-latest
14+
if: ${{ github.actor == 'dependabot[bot]' }}
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
ref: ${{ github.head_ref }}
20+
path: ./src/github.com/${{ github.repository }}
21+
fetch-depth: 0
22+
23+
- name: Setup Golang
24+
uses: openshift-knative/hack/actions/setup-go@main
25+
26+
- name: Install yq
27+
run: |
28+
go install github.com/mikefarah/yq/v3@latest
29+
30+
- name: Generate files
31+
working-directory: ./src/github.com/${{ github.repository }}
32+
run: make generate-release
33+
34+
- name: git push
35+
working-directory: ./src/github.com/${{ github.repository }}
36+
run: |
37+
if ! git diff --exit-code --quiet
38+
then
39+
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
40+
git config --local user.name "github-actions[bot]"
41+
git add .
42+
git commit -m "Run make generate-release"
43+
git push
44+
fi

renovate.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"enabledManagers": ["tekton"],
4+
"ignorePaths": [
5+
".konflux-release/**",
6+
"third_party/**",
7+
"vendor/**",
8+
"**/images-rekt.yaml"
9+
]
10+
}

0 commit comments

Comments
 (0)