Skip to content

Commit

Permalink
💚 Tweak Dependabot with Pulumi (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Jun 26, 2024
1 parent 7d609fd commit 1e97f19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pulumi-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

jobs:
preview:
if: github.actor != 'dependabot[bot]'
name: Pulumi Preview
runs-on: ubuntu-latest
steps:
Expand All @@ -16,14 +15,17 @@ jobs:
with:
python-version: '3.10'
- name: Configure AWS Credentials
if: github.actor != 'dependabot[bot]'
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_STAGING }}
aws-region: ${{ secrets.AWS_REGION_STAGING }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_STAGING }}
- run: pip install -r requirements.txt
if: github.actor != 'dependabot[bot]'
working-directory: infra
- uses: pulumi/actions@v3
if: github.actor != 'dependabot[bot]'
with:
command: preview
# stack-name: org-name/stack-name # When using an individual account, only use stack-name.
Expand Down

0 comments on commit 1e97f19

Please sign in to comment.