Skip to content

Commit

Permalink
typo in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zMynxx committed Mar 31, 2024
1 parent d2e06cb commit 1289f3b
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/digger_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Digger Pull Request Workflow
on:
workflow_dispatch:
Expand All @@ -13,10 +12,8 @@ on:
required: true
description: comment id
pull_request:
branches:
- main
- master
types: [ closed, opened, synchronize, reopened ]
branches: [main, master]
types: [closed, opened, synchronize, reopened]
issue_comment:
types: [created]
if: contains(github.event.comment.body, 'digger')
Expand All @@ -26,13 +23,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest

# Permissions for OIDC with AWS
permissions:
contents: write # required to merge PRs
id-token: write # required for workload-identity-federation
pull-requests: write # required to post PR comments
statuses: write # required to validate combined PR status
contents: write # required to merge PRs
id-token: write # required for workload-identity-federation
pull-requests: write # required to post PR comments
statuses: write # required to validate combined PR status
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -51,15 +47,12 @@ jobs:
# opentofu-version: v1.6.0-alpha3
setup-checkov: true
checkov-version: 2.3.360

################
# AWS Settings #
################
setup-aws: true
aws-role-to-assume: arn:aws:iam::${{ secrets.ACCOUNT_ID }}:role/${{ secrets.ROLE_NAME
}}
aws-role-to-assume: arn:aws:iam::${{ secrets.ACCOUNT_ID }}:role/${{ secrets.ROLE_NAME }}
aws-region: ${{ secrets.AWS_REGION }}

###################
# Digger Settings #
###################
Expand All @@ -71,7 +64,6 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

##### To use different accounts for digger locks and arget infrastructure
# 1st pair used to provisions the infrastructure
# 2nd pair used for locking
Expand Down

0 comments on commit 1289f3b

Please sign in to comment.