Skip to content

Generate Github Runner Token #2

Generate Github Runner Token

Generate Github Runner Token #2

name: Generate Github Runner Token
on:
workflow_dispatch:
jobs:
generate-token:
runs-on: ubuntu-latest
outputs:
token: ${{ steps.generate.outputs.token }}
steps:
- name: Generate GitHub App Token
id: auth
uses: ArctiqDemos/github-actions/generate-app-token@main
with:
app_id: 849736
installation_id: 48083491
kv_url: https://github-secret-store.vault.azure.net
kv_secret_name: safe-settings-test
azure_client_id: ${{ secrets.AZURE_CLIENT_ID }}
azure_client_secret: ${{ secrets.AZURE_CLIENT_SECRET }}
azure_subscription: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
azure_tenant: ${{ secrets.AZURE_TENANT_ID }}
- name: Get Runner Registration Token
id: generate
uses: ArctiqDemos/github-actions/generate-runner-token@main
with:
org_name: ArctiqDemos
repo_name: github-actions
github_token: ${{ steps.auth.outputs.token }}