Skip to content

fix: scope CRD update permissions v0.34.x (#7332) #1117

fix: scope CRD update permissions v0.34.x (#7332)

fix: scope CRD update permissions v0.34.x (#7332) #1117

Workflow file for this run

name: DocGenCI
on:
push:
branches:
- 'main'
- 'release-v*'
jobs:
docgen-ci:
permissions:
id-token: write # aws-actions/[email protected]
if: github.repository == 'aws/karpenter-provider-aws'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: ./.github/actions/install-deps
- uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
with:
role-to-assume: 'arn:aws:iam::${{ vars.READONLY_ACCOUNT_ID }}:role/${{ vars.READONLY_ROLE_NAME }}'
aws-region: ${{ vars.READONLY_REGION }}
- run: make docgen
- run: make codegen
env:
ENABLE_GIT_PUSH: false