Skip to content

Commit ce559b7

Browse files
committed
Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
1 parent 3206862 commit ce559b7

5 files changed

Lines changed: 40 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
###
2+
# This file is synced from https://github.com/prometheus/prometheus
3+
###
14
version: 2
25
updates:
36
- package-ecosystem: "gomod"
@@ -30,6 +33,7 @@ updates:
3033
- "github/codeql-action*"
3134
# Exclude configs synced from upstream prometheus/prometheus.
3235
exclude-paths:
36+
- .github/workflows/approve-workflows.yml
3337
- .github/workflows/container_description.yml
3438
- .github/workflows/golangci-lint.yml
3539
- .github/workflows/govulncheck.yml
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
###
3+
# This action is synced from https://github.com/prometheus/prometheus
4+
###
5+
name: Approve pending workflows
6+
7+
on:
8+
issue_comment:
9+
types: [created]
10+
11+
permissions: read-all
12+
13+
jobs:
14+
approve:
15+
if: >-
16+
github.event.issue.pull_request &&
17+
github.event.comment.body == '/workflow-approve' &&
18+
github.repository_owner == 'prometheus'
19+
runs-on: ubuntu-latest
20+
permissions:
21+
actions: write
22+
contents: read
23+
pull-requests: write
24+
steps:
25+
- uses: prometheus/promci/approve_workflows@370e8c15dcec50043cbe66f2f34633d9efc0a190
26+
with:
27+
github_token: ${{ github.token }}

.github/workflows/container_description.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
###
3+
# This action is synced from https://github.com/prometheus/prometheus
4+
###
25
name: Push README to Docker Hub
36
on:
47
push:

.github/workflows/govulncheck.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
###
3+
# This action is synced from https://github.com/prometheus/prometheus
4+
###
25
name: govulncheck
36
on:
47
pull_request:

.yamllint

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
###
3+
# This file is synced from https://github.com/prometheus/prometheus
4+
###
25
extends: default
36
ignore: |
47
**/node_modules

0 commit comments

Comments
 (0)