forked from knative-extensions/net-kourier
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
serverless-qe
committed
Jan 15, 2025
1 parent
d3a4b02
commit 9e90d41
Showing
2 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
version: "2" | ||
updates: | ||
- package-ecosystem: gomod | ||
directories: | ||
- / | ||
schedule: | ||
interval: weekly | ||
ignore: | ||
- dependency-name: knative.dev/* | ||
- dependency-name: k8s.io/* | ||
update-types: | ||
- version-update:semver-major | ||
- version-update:semver-minor | ||
- dependency-name: github.com/openshift/* | ||
update-types: | ||
- version-update:semver-major | ||
- version-update:semver-minor | ||
- dependency-name: sigs.k8s.io/controller-runtime | ||
update-types: | ||
- version-update:semver-major | ||
- version-update:semver-minor | ||
target-branch: release-v1.15 | ||
commit-message: | ||
prefix: '[release-v1.15][gomod]' | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: gomod | ||
directories: | ||
- / | ||
schedule: | ||
interval: weekly | ||
ignore: | ||
- dependency-name: knative.dev/* | ||
- dependency-name: k8s.io/* | ||
update-types: | ||
- version-update:semver-major | ||
- version-update:semver-minor | ||
- dependency-name: github.com/openshift/* | ||
update-types: | ||
- version-update:semver-major | ||
- version-update:semver-minor | ||
- dependency-name: sigs.k8s.io/controller-runtime | ||
update-types: | ||
- version-update:semver-major | ||
- version-update:semver-minor | ||
target-branch: release-v1.16 | ||
commit-message: | ||
prefix: '[release-v1.16][gomod]' | ||
open-pull-requests-limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
name: Dependabot | ||
|
||
on: | ||
pull_request: | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
update-deps: | ||
name: Update deps | ||
runs-on: ubuntu-latest | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
path: ./src/github.com/${{ github.repository }} | ||
fetch-depth: 0 | ||
|
||
- name: Setup Golang | ||
uses: openshift-knative/hack/actions/setup-go@main | ||
|
||
- name: Install yq | ||
run: | | ||
go install github.com/mikefarah/yq/v3@latest | ||
- name: Generate files | ||
working-directory: ./src/github.com/${{ github.repository }} | ||
run: make generate-release | ||
|
||
- name: git push | ||
working-directory: ./src/github.com/${{ github.repository }} | ||
run: | | ||
if ! git diff --exit-code --quiet | ||
then | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
git add . | ||
git commit -m "Run generate release" | ||
git push | ||
fi |