Skip to content

fix: id-token permission for release / snapshot (#4752) #514

fix: id-token permission for release / snapshot (#4752)

fix: id-token permission for release / snapshot (#4752) #514

Workflow file for this run

name: DocGenCI
on:
push:
branches: [main]
permissions:
id-token: write
jobs:
docgen-ci:
if: github.repository == 'aws/karpenter'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-deps
- uses: aws-actions/configure-aws-credentials@v1-node16
with:
role-to-assume: 'arn:aws:iam::${{ vars.ECR_ACCOUNT_ID }}:role/${{ vars.ECR_SNAPSHOT_ROLE_NAME }}'
aws-region: ${{ vars.ECR_REGION }}
- run: make docgen
- run: make codegen
env:
ENABLE_GIT_PUSH: false