Skip to content

Commit

Permalink
ci: Automate releases
Browse files Browse the repository at this point in the history
  • Loading branch information
tomphp committed Sep 18, 2023
1 parent 70098d7 commit 10e5cc6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
push:
branches: ["*"]

jobs:
run-tests:
uses: ./.github/workflows/run-tests.yml
secrets: inherit

create-release:
needs:
- run-tests
if: github.ref == 'refs/heads/main'
uses: armakuni/github-actions/.github/workflows/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ permissions:
contents: read # This is required for actions/checkout

on:
push:
branches: ["main"]
workflow_call:
secrets:
AWS_ACCOUNT_ID:
required: true

concurrency: terratest-${{ inputs.module-name }}
concurrency: terratest-route53-hosted-zone

jobs:
run-tests:
Expand Down

0 comments on commit 10e5cc6

Please sign in to comment.