Isolate call to Network::fetch() outside of runtime to prevent panic #3044
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: auto-assign-reviewer | |
on: | |
pull_request: | |
# add needed activity types | |
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request | |
types: [opened, synchronize, reopened, ready_for_review, review_requested] | |
jobs: | |
assign_reviewer: | |
runs-on: ubuntu-latest | |
# do not run while in draft mode | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: shufo/[email protected] | |
with: | |
config: ".github/reviewer-by-files.yml" | |
token: ${{ secrets.GITHUB_TOKEN }} |