Skip to content

Commit

Permalink
fix aws auth config + slack upload config
Browse files Browse the repository at this point in the history
  • Loading branch information
nayib-jose-gloria committed Jan 3, 2024
1 parent b1936ab commit abb6fb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gencode-bump-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
aws-region: us-west-2
role-to-assume: ${{ secrets.AWS_PROD_ROLE_TO_ASSUME }}
role-duration-seconds: 2700
role-duration-seconds: 5400
- name: Pull AWS Secrets
uses: aws-actions/aws-secretsmanager-get-secrets@v1
with:
Expand All @@ -43,7 +43,6 @@ jobs:
env:
corpus_env: "prod"
- name: upload to slack
if: steps.changed-files.outputs.any_changed == 'true'
run: |
curl -F [email protected] -F "initial_comment=Gene Dry Run Report" -F channels=${{secrets
.SLACK_CURATOR_REPORTING_CHANNEL}} -H "Authorization: Bearer ${{secrets.SLACK_CURATOR_REPORTING_APP_AUTH}}" https://slack.com/api/files.upload
2 changes: 1 addition & 1 deletion .github/workflows/schema-version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
aws-region: us-west-2
role-to-assume: ${{ secrets.AWS_PROD_ROLE_TO_ASSUME }}
role-duration-seconds: 2700
role-duration-seconds: 5400
- name: Pull AWS Secrets
uses: aws-actions/aws-secretsmanager-get-secrets@v1
with:
Expand Down

0 comments on commit abb6fb6

Please sign in to comment.