Skip to content

Commit

Permalink
fix(workflow): read correctly variable value (#259)
Browse files Browse the repository at this point in the history
* fix(workflow): read correctly variable value

* chore(commitlint): upgrade version
  • Loading branch information
krokoko authored Feb 15, 2024
1 parent ab488fe commit a6463b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/code-generation.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions projenrc/github-workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,8 @@ export function buildCodeGenerationWorkflow(project: AwsCdkConstructLibrary) {
uses: 'aws-actions/[email protected]',
with: {
'role-to-assume': '${{ secrets.AWS_ROLE_ARN_TO_ASSUME }}',
'aws-region': '${{ env.AWS_REGION }}',
'role-duration-seconds': '7200',
'aws-region': '${{ vars.AWS_REGION }}',
'role-duration-seconds': 7200,
'mask-aws-account-id': true,
},
},
Expand Down Expand Up @@ -573,7 +573,7 @@ export function buildCodeGenerationWorkflow(project: AwsCdkConstructLibrary) {

// second job to create a PR if any changes were detected
const pr: Job = {
name: 'Code generation',
name: 'Create Pull Request',
needs: ['generate'],
runsOn: ['ubuntu-latest'],
permissions: {
Expand Down

0 comments on commit a6463b5

Please sign in to comment.