Skip to content

Commit

Permalink
Add github.actor validation
Browse files Browse the repository at this point in the history
  • Loading branch information
arybolovlev committed Aug 9, 2024
1 parent 19cebd5 commit c6426bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/dependabot-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@ on:
push:
branches:
- dependabot/**
paths:
- 'go.mod'
- 'go.sum'

jobs:
hcp-terraform:
if: github.actor == 'dependabot[bot]'
uses: ./.github/workflows/end-to-end-tfc.yaml
hcp-terraform-helm:
if: github.actor == 'dependabot[bot]'
uses: ./.github/workflows/helm-end-to-end-tfc.yaml
terraform-enterprise:
if: github.actor == 'dependabot[bot]'
uses: ./.github/workflows/end-to-end-tfe.yaml
terraform-enterprise-helm:
if: github.actor == 'dependabot[bot]'
uses: ./.github/workflows/helm-end-to-end-tfe.yaml

0 comments on commit c6426bd

Please sign in to comment.