Skip to content

Commit

Permalink
Update add-reviewer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KomissarMaria authored Nov 6, 2024
1 parent 6573158 commit a255d07
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/add-reviewer.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
name: Add KomisarMariia as Reviewer for Freezed Branches
name: Add Reviewer for Freezed Branches

on:
pull_request:
types: [opened, reopened]
branches:
- "v*.*" # Matches branch names like v1.10, v2.5, etc.
- 'v*.*' # Targets branches with names like v1.10, v1.11, etc.

jobs:
add-reviewer:
runs-on: ubuntu-latest

steps:
- name: Add KomisarMariia as reviewer
uses: actions-ecosystem/action-add-reviewer@v1
- name: Add Reviewer
uses: octokit/request-action@v2
with:
reviewers: "KomisarMariia"
# Optionally, set `team-reviewers` if needed, for team-based reviews
route: POST /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/requested_reviewers
reviewers: KomisarMariia
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}

0 comments on commit a255d07

Please sign in to comment.