diff --git a/.github/workflows/tag-and-release.yaml b/.github/workflows/tag-and-release.yaml new file mode 100644 index 0000000..71de07c --- /dev/null +++ b/.github/workflows/tag-and-release.yaml @@ -0,0 +1,14 @@ +name: "Tag and release terraform module" + +on: + push: + branches: + - main + +jobs: + tag-and-release: + uses: dsb-norge/github-actions-terraform/.github/workflows/terraform-module-release.yaml@v0 + secrets: inherit + permissions: + contents: write # required for checkout action. + pull-requests: write # required for commenting on PR \ No newline at end of file diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3a701d3..94bc3bb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,9 +1,6 @@ name: "CI TF Test" on: - push: - branches: - - main pull_request: branches: - main diff --git a/README.md b/README.md index 8e17ca5..66e6342 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,8 @@ git push --tags # push the new tags **Note:** If you are having problems pulling main after a release, try to force fetch the tags: `git fetch --tags -f`. -Below is a placeholder for Terraform-docs generated documentation. Do not edit between the delimiters. + + ## Requirements | Name | Version |