[chore] Move the changelog guard #761
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Request reviews from code owners of a PR' | |
on: | |
pull_request_target: | |
types: [opened, synchronize] | |
jobs: | |
request_codeowners_review: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
if: ${{ github.repository_owner == 'open-telemetry' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run request_codeowners_review.sh | |
run: ./tools/request_codeowners_review.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
REPO: ${{ github.repository }} | |
PR: ${{ github.event.number }} |