File tree 2 files changed +10
-7
lines changed
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change
1
+ # https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
2
+
3
+ * @ awslabs/aws-lambda-powertools-python @ awslabs/aws-lambda-powertools-core
Original file line number Diff line number Diff line change 31
31
32
32
jobs :
33
33
release :
34
+ environment : release
34
35
runs-on : ubuntu-latest
35
36
outputs :
36
37
RELEASE_VERSION : ${{ steps.release_version.outputs.RELEASE_VERSION }}
@@ -84,16 +85,15 @@ jobs:
84
85
env :
85
86
PYPI_USERNAME : __token__
86
87
PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
88
+ - name : aws credentials
89
+ uses : aws-actions/configure-aws-credentials@v1
90
+ with :
91
+ aws-region : eu-west-1
92
+ role-to-assume : ${{ secrets.AWS_SAR_ROLE_ARN }}
87
93
- name : publish lambda layer in SAR by triggering the internal codepipeline
88
94
run : |
89
95
aws ssm put-parameter --name "powertools-python-release-version" --value $RELEASE_VERSION --overwrite
90
- aws codepipeline start-pipeline-execution --name ${{ secrets.CODEPIPELINE_NAME }}
91
- env :
92
- # Maintenance: Migrate to new OAuth mechanism
93
- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
94
- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
95
- AWS_DEFAULT_REGION : eu-west-1
96
- AWS_DEFAULT_OUTPUT : json
96
+ aws codepipeline start-pipeline-execution --name ${{ secrets.AWS_SAR_PIPELINE_NAME }}
97
97
98
98
docs :
99
99
needs : release
You can’t perform that action at this time.
0 commit comments