Skip to content

codewatchers-assignees

Actions
Set PR assignees based on a CODEOWNERS file
v0.0.6
Latest
Star (1)

Tags

 (1)

Table of contents

Introduction

This action set the assignees on a PR based of a CODEOWNERS file.

Inputs

input description required
github-token Auth token with permissions to label PR true
codewatchers-filename Filename of codewatchers file. Default: CODEWATCHERS false
github-user-mappings Optional user to github user mappings false

Usage

name: Add CODEWATCHERS
on:
  pull_request:
    types: [opened]
jobs:
  add-assignees:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      pull-requests: write
    steps:
      - name: Add CODEWATCHERS as assignees
        uses: dovetail/codewatchers@latest
        with:
          codewatchers-filename: CODEWATCHERS
          github-token: ${{ secrets.GITHUB_TOKEN }}

codewatchers-assignees is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Set PR assignees based on a CODEOWNERS file
v0.0.6
Latest

Tags

 (1)

codewatchers-assignees is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.