chore(ci): stale bot is deprecated; we should only apply one method to stale issues #896
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: Add assignee to PRs | |
on: | |
pull_request: | |
types: [ opened, reopened ] | |
permissions: | |
pull-requests: write | |
jobs: | |
assign-author: | |
runs-on: ubuntu-latest | |
steps: | |
- name: assign-author | |
# ignore the pull requests opened from PR because token is not correct | |
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' | |
uses: toshimaru/auto-author-assign@c1ffd6f64e20f8f5f61f4620a1e5f0b0908790ef | |