From 32f042ff38f4b0f4d2d8f25e8f5fce63c89457e8 Mon Sep 17 00:00:00 2001 From: mariiakomisar1985 Date: Fri, 8 Nov 2024 12:00:53 +0200 Subject: [PATCH] Update add-reviewer.yml --- .github/workflows/add-reviewer.yml | 40 +++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/add-reviewer.yml b/.github/workflows/add-reviewer.yml index e222324..18219c2 100644 --- a/.github/workflows/add-reviewer.yml +++ b/.github/workflows/add-reviewer.yml @@ -1,22 +1,22 @@ -name: Add Reviewer for Freezed Branches +# name: Add Reviewer for Freezed Branches -on: - pull_request: - branches: - - 'v*.*' # Matches branches like v1.10, v1.11, etc. +# on: +# pull_request: +# branches: +# - 'v*.*' # Matches branches like v1.10, v1.11, etc. -jobs: - add-reviewer: - runs-on: ubuntu-latest - steps: - - name: Add KomissarMaria as a reviewer - env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} - run: | - pr_number=${{ github.event.pull_request.number }} - repo=${{ github.repository }} - curl -s -X POST \ - -H "Accept: application/vnd.github+json" \ - -H "Authorization: Bearer $GITHUB_TOKEN" \ - https://api.github.com/repos/$repo/pulls/$pr_number/requested_reviewers \ - -d '{"reviewers":["KomissarMaria"]}' +# jobs: +# add-reviewer: +# runs-on: ubuntu-latest +# steps: +# - name: Add KomissarMaria as a reviewer +# env: +# GITHUB_TOKEN: ${{ secrets.TOKEN }} +# run: | +# pr_number=${{ github.event.pull_request.number }} +# repo=${{ github.repository }} +# curl -s -X POST \ +# -H "Accept: application/vnd.github+json" \ +# -H "Authorization: Bearer $GITHUB_TOKEN" \ +# https://api.github.com/repos/$repo/pulls/$pr_number/requested_reviewers \ +# -d '{"reviewers":["KomissarMaria"]}'