From 433e758ee7c5d77e0b0e237b061fdab6d812d017 Mon Sep 17 00:00:00 2001 From: prombot Date: Tue, 14 Jul 2026 18:07:41 +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 000000000..adbcb4817 --- /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 }}