From a5019096a17943313480d81591e6d2738fecb2cc Mon Sep 17 00:00:00 2001 From: prombot Date: Thu, 16 Jul 2026 18:10:57 +0000 Subject: [PATCH] Update common Prometheus files Signed-off-by: prombot --- .github/workflows/approve-workflows.yml | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/approve-workflows.yml diff --git a/.github/workflows/approve-workflows.yml b/.github/workflows/approve-workflows.yml new file mode 100644 index 0000000..adbcb48 --- /dev/null +++ b/.github/workflows/approve-workflows.yml @@ -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' + runs-on: ubuntu-latest + permissions: + actions: write + contents: read + pull-requests: write + steps: + - uses: prometheus/promci/approve_workflows@370e8c15dcec50043cbe66f2f34633d9efc0a190 + with: + github_token: ${{ github.token }}