Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-prometheus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
0184f583
Unverified
Commit
0184f583
authored
3 years ago
by
Paweł Krupa
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1293 from dgrisonnet/release-branch-update
parents
d15f8398
20f3cfaa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/versions.yaml
+12
-6
12 additions, 6 deletions
.github/workflows/versions.yaml
with
12 additions
and
6 deletions
.github/workflows/versions.yaml
+
12
−
6
View file @
0184f583
name
:
Upgrade to latest versions
on
:
schedule
:
-
cron
:
'
37
13
*
*
1'
on
:
workflow_dispatch
jobs
:
versions
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
branch
:
-
'
release-0.8'
-
'
main'
steps
:
-
uses
:
actions/checkout@v2
with
:
ref
:
${{ matrix.branch }}
-
uses
:
actions/setup-go@v2
with
:
go-version
:
1.16
...
...
@@ -17,6 +22,7 @@ jobs:
# Write to temporary file to make update atomic
scripts/generate-versions.sh > /tmp/versions.json
mv /tmp/versions.json jsonnet/kube-prometheus/versions.json
if
:
${{ matrix.branch }} == 'main'
-
name
:
Update jsonnet dependencies
run
:
|
make update
...
...
@@ -30,8 +36,8 @@ jobs:
-
name
:
Create Pull Request
uses
:
peter-evans/create-pull-request@v3
with
:
commit-message
:
"
[bot]
Automated
version
update"
title
:
"
[bot]
Automated
version
update"
commit-message
:
"
[bot]
[${{
matrix.branch
}}]
Automated
version
update"
title
:
"
[bot]
[${{
matrix.branch
}}]
Automated
version
update"
body
:
|
## Description
...
...
@@ -49,7 +55,7 @@ jobs:
```
team-reviewers
:
kube-prometheus-reviewers
branch
:
automated-updates
branch
:
automated-updates
-${{ matrix.branch }}
delete-branch
:
true
# GITHUB_TOKEN cannot be used as it won't trigger CI in a created PR
# More in https://github.com/peter-evans/create-pull-request/issues/155
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment