components-template/.github/workflows/generate_rekku_token.yml

26 lines
576 B
YAML
Raw Normal View History

name: "Generate a token for Rekku"
on:
workflow_call:
secrets:
2024-11-12 02:32:06 +00:00
REKKU_PRIVATE_KEY:
required: false
jobs:
Generate-a-token-for-Rekku:
runs-on: ubuntu-latest
2024-11-12 02:15:45 +00:00
outputs:
rekku_token: ${{ steps.generate-rekku-token.outputs.token }}
steps:
- name: Generate a token for Rekku
id: generate-rekku-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.REKKU_APP_ID }}
private-key: ${{ secrets.REKKU_PRIVATE_KEY }}
owner: "RetroDECK"
skip-token-revoke: true