Skip to content
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
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
###
# This file is synced from https://github.com/prometheus/prometheus
###
version: 2
updates:
- package-ecosystem: "gomod"
Expand Down Expand Up @@ -30,6 +33,7 @@ updates:
- "github/codeql-action*"
# Exclude configs synced from upstream prometheus/prometheus.
exclude-paths:
- .github/workflows/approve-workflows.yml
- .github/workflows/container_description.yml
- .github/workflows/golangci-lint.yml
- .github/workflows/govulncheck.yml
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/approve-workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
###
# This action is synced from https://github.com/prometheus/prometheus
###
name: Approve pending workflows

on:
issue_comment:
types: [created]

permissions: read-all

jobs:
approve:
if: >-
github.event.issue.pull_request &&
github.event.comment.body == '/workflow-approve' &&
(github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community')
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
pull-requests: write
steps:
- uses: prometheus/promci/approve_workflows@370e8c15dcec50043cbe66f2f34633d9efc0a190 # v0.9.0
with:
github_token: ${{ github.token }}
3 changes: 3 additions & 0 deletions .github/workflows/container_description.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
###
# This action is synced from https://github.com/prometheus/prometheus
###
name: Push README to Docker Hub
on:
push:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
###
# This action is synced from https://github.com/prometheus/prometheus
###
name: govulncheck
on:
pull_request:
Expand Down
3 changes: 3 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
###
# This file is synced from https://github.com/prometheus/prometheus
###
extends: default
ignore: |
**/node_modules
Expand Down