it probably still works, but I no longer need it now that there are reusable private workflows / actions
a github action to retrieve an application token
- uses: pre-commit-ci/[email protected]
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 idAPP_PKEY64
: base64 encoded app secret pem