Skip to content

Commit

Permalink
Remove dependabot exclusions from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewHEguardian committed May 15, 2024
1 parent 02edb7c commit 56e24fb
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,13 @@ jobs:
TEST_DB_PASSWORD: postgres

- name: Copy files to Riff Raff package
if: >-
github.actor != 'dependabot[bot]'
&& github.event.pull_request.user.login != 'dependabot[bot]'
run: cp package.json riff-raff.yaml target

- name: Yarn install in package
if: >-
github.actor != 'dependabot[bot]'
&& github.event.pull_request.user.login != 'dependabot[bot]'
working-directory: ./target
run: yarn install --production

- name: Zip target directory contents (quietly)
if: >-
github.actor != 'dependabot[bot]'
&& github.event.pull_request.user.login != 'dependabot[bot]'
run: zip -qr ../support-reminders.zip ./*
working-directory: ./target

Expand All @@ -84,26 +75,17 @@ jobs:
yarn test
- name: Yarn synth (CDK)
if: >-
github.actor != 'dependabot[bot]'
&& github.event.pull_request.user.login != 'dependabot[bot]'
working-directory: cdk
run: yarn synth

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
if: >-
github.actor != 'dependabot[bot]'
&& github.event.pull_request.user.login != 'dependabot[bot]'
with:
aws-region: eu-west-1
role-to-assume: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}

- name: Upload to Riff-Raff
uses: guardian/actions-riff-raff@v2
if: >-
github.actor != 'dependabot[bot]'
&& github.event.pull_request.user.login != 'dependabot[bot]'
with:
app: support-reminders
configPath: ./riff-raff.yaml
Expand All @@ -113,6 +95,3 @@ jobs:
- ./cdk/cdk.out/SupportReminders-PROD.template.json
support-reminders:
- ./support-reminders.zip

0 comments on commit 56e24fb

Please sign in to comment.