Skip to content

agorapulse/setup-pierrot

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Setup Pierrot Action

drawing

This action sets up Pierrot CLI for using in GitHub Actions.

  • It downloads (if it is not cached yet) required version of Pierrot CLI
  • Adds pierrot executable to the environment
  • Sets PIERROT_TOKEN environment variable if provided
  • Sets PIERROT_ORGANIZATION environment variables the provided value or the current organization

Usage

steps:
- uses: actions/checkout@latest
- uses: agorapulse/setup-pierrot@master
  with:
    # Pierrot CLI version, default to the latest version
    version: '1.0.0'
    # Optional personal GitHub token which should have access to repositories you want to modify
    # Can be specified later as the PIERROT_TOKEN environment variable or using --github-token option
    token: ${{ secrets.PERSONAL_TOKEN }}
    # The GitHub organization to limit the searches, set to the owning organization if not provided
    # Can be bypassed by using --global flag
    organization: 'octocat'
- run: pierrot --version

License

The scripts and documentation in this project are released under the MIT License

Acknowledgement

This action is based on wonderful DeLaGuardo/setup-graalvm action.