Skip to content

Commit

Permalink
ci(release): Add branch filter to workflow_run trigger
Browse files Browse the repository at this point in the history
We only want release to run on main
  • Loading branch information
chris3ware committed Sep 10, 2024
1 parent be53d91 commit 8b7ca67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
workflow_run:
workflows: [OpenTofu CI]
types: [completed]
branches: [main]

# Disable permissions for all available scopes
permissions: {}
Expand Down

0 comments on commit 8b7ca67

Please sign in to comment.