We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a96f6f4 commit 3e39355Copy full SHA for 3e39355
1 file changed
.github/workflows/approve-workflows.yml
@@ -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