sjdaws / app-token

Run GitHub actions as an app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App token

This action copies bubkoo/use-app-token but also works when running behind a proxy.

Usage

This action should be used when GITHUB_TOKEN is too restrictive.

- name: Get token
  id: get_token
  uses: sjdaws/app-token@v1
  with:
    appId: ${{ secrets.APP_ID }}
    privateKey: ${{ secrets.APP_PEM }}
- name: Use token
  uses: ...
  with:
    token: ${{ steps.get_token.outputs.token }}

About

Run GitHub actions as an app.

License:Other


Languages

Language:Go 77.5%Language:Shell 18.2%Language:Dockerfile 4.2%