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

Latest commit

 

History

History
30 lines (22 loc) · 858 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 858 Bytes

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