Skip to content

Rewrite versions related functions #1061

Rewrite versions related functions

Rewrite versions related functions #1061

name: request-reviewer
permissions: read-all
on:
pull_request_target:
types:
- edited
- opened
- ready_for_review
- reopened
- synchronize
branches:
- 'main'
- 'FEATURE-BRANCH-*'
jobs:
request-review:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
permissions:
pull-requests: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '^1.20'
# Disable caching for now due to issues with large provider dependency caches
cache: false
- name: Build magician
run: |
cd .ci/magician
go build .
- name: Request reviewer
run: .ci/magician/magician request-reviewer ${{ github.event.pull_request.number }}