Skip to content

Commit 3e39355

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

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

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 }}

0 commit comments

Comments
 (0)