diff options
author | Robert Göhler <github@ghlr.de> | 2024-05-28 12:15:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 12:15:44 +0200 |
commit | 3e5c7dbd001a649fad3e9751f637134f853daeab (patch) | |
tree | da4adba63f006b1167410a168308ca9b13a73b72 /.github/workflows/auto-author-assign.yml | |
parent | d2002c292af2692997073514bdb60d4371df3058 (diff) | |
parent | c9cb720aff17f636b4aee6a6c3a8552dc18dd7a2 (diff) | |
download | vyos-documentation-3e5c7dbd001a649fad3e9751f637134f853daeab.tar.gz vyos-documentation-3e5c7dbd001a649fad3e9751f637134f853daeab.zip |
Merge pull request #1466 from vyos/mergify/bp/sagitta/pr-1464
T6410: applied reusable workflows (auto-author-assign,check-pr-conflicts,lint-doc) (backport #1464)
Diffstat (limited to '.github/workflows/auto-author-assign.yml')
-rw-r--r-- | .github/workflows/auto-author-assign.yml | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml index 81134206..c3696ea4 100644 --- a/.github/workflows/auto-author-assign.yml +++ b/.github/workflows/auto-author-assign.yml @@ -3,25 +3,12 @@ on: pull_request_target: types: [opened, reopened, ready_for_review, locked] + permissions: pull-requests: write + contents: read jobs: - # https://github.com/marketplace/actions/auto-author-assign assign-author: - runs-on: ubuntu-latest - steps: - - name: "Assign Author to PR" - uses: toshimaru/auto-author-assign@v1.3.5 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - # https://github.com/shufo/auto-assign-reviewer-by-files - assign_reviewer: - runs-on: ubuntu-latest - steps: - - name: Request review based on files changes and/or groups the author belongs to - uses: shufo/auto-assign-reviewer-by-files@v1.1.1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - config: .github/reviewers.yml + uses: vyos/.github/.github/workflows/assign-author.yml@feature/T6349-reusable-workflows + secrets: inherit |