Skip to content

Releases: MarcoEidinger/swift-api-assign-reviewer

1.0.1: Bump lodash from 4.17.19 to 4.17.21

27 May 20:14
Compare
Choose a tag to compare

1.0.0

09 May 15:04
Compare
Choose a tag to compare

GitHub action to detect access control changes (open/public) in Swift files and set reviewer/assignee to pull request

Example configuration (to be created as.github/swift-api-assign-reviewer.yml)

# Set to true to add reviewers to pull requests
addReviewers: true

# Set to true to add assignees to pull requests
addAssignees: false

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
  - MarcoEidinger

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 0

Example workflow

name: API-Protection

on:
  pull_request:
    types: [opened, synchronize]

jobs:

  auto-assign-reviewer:
    runs-on: ubuntu-latest
    steps:
      - uses: MarcoEidinger/swift-api-assign-reviewer@1.0.0
        with:
          repo-token: "${{ secrets.GITHUB_TOKEN }}"
          configuration-path: ".github/swift-api-assign-reviewer.yml"