diff --git a/.github/workflows/automate.yml b/.github/workflows/automate.yml index 5aaa47e..7b55e63 100644 --- a/.github/workflows/automate.yml +++ b/.github/workflows/automate.yml @@ -1,15 +1,15 @@ -name: Automate +# .github/workflows/auto-author-assign.yml +name: Auto Author Assign + on: - pull_request: - types: - - opened - - edited - - reopened + pull_request_target: + types: [ opened, reopened ] + +permissions: + pull-requests: write + jobs: - automate: + assign-author: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: toshimaru/auto-author-assign@v1.3.4 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + - uses: toshimaru/auto-author-assign@v2.0.0 \ No newline at end of file