Skip to content
Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

approved-event-action

This action provide Pseudo Appeoved Event.

Inputs

approvals

Optional The number of unique approvals. Default 1.

Outputs

approved

Pull Request is approved or not. if approved, value is true;

Example usage

on: pull_request_review
name: Example Job
jobs:
  myJob:
    runs-on: ubuntu-latest
    steps:
    - uses: taichi/approved-event-action@v1.2.1
      id: approved
      with:
        approvals: '2'
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    - run: echo "Approved !!"
      if: steps.approved.outputs.approved == 'true'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published