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

a github action to retrieve an application token

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

a github action to retrieve an application token

License:MIT License


Languages

Language:JavaScript 100.0%