Skip to content
This repository has been archived by the owner on Dec 17, 2022. It is now read-only.

pre-commit-ci/action-get-app-token

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

it probably still works, but I no longer need it now that there are reusable private workflows / actions


pre-commit.ci status

action-get-app-token

a github action to retrieve an application token

example usage

    - uses: pre-commit-ci/action-get-app-token@v1.1.0
      id: app-token
      with:
        app: ${{ secrets.APP_ID }}
        pkey64: ${{ secrets.APP_PKEY64 }}
    - uses: actions/checkout@v3
      with:
        repository: your-org/some-private-repo
        token: ${{ steps.app-token.outputs.token }}
        path: some-private-repo
  • APP_ID: your app id
  • APP_PKEY64: base64 encoded app secret pem