From e48120b01c21d9f2ac4df21880ded7ad5332489b Mon Sep 17 00:00:00 2001 From: prombot Date: Tue, 14 Jul 2026 18:07: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 00000000..adbcb481 --- /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 }}