Skip to content

Approvals Counter

Actions
Count approvals of the provided PR
v1.1
Latest
Star (2)

Tags

 (1)

Approvals counter

This action counts the approvals of the PR

How to use

You can check that PR has required amount of approvals like this

name: 'Has two or more approvals'
description: 'Check that PR has two or more approvals'
outputs:
  approved:
    description: 'If PR has two or more approvals'
    value: ${{steps.approvals.outputs.approvals >= 2}}
runs:
  using: 'composite'
  steps:
    - uses: dayone-jp/approvals@v1
      id: approvals
      env:
        GITHUB_TOKEN: ${{ YOUR_TOKEN_HERE }}

Approvals Counter 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

Count approvals of the provided PR
v1.1
Latest

Tags

 (1)

Approvals Counter 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.