-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor folder structure references from 'terraform-module' to 'terr…
…aform/module' and update related documentation
- Loading branch information
Showing
17 changed files
with
113 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
folders: | ||
- ./: | ||
struct: | ||
- github/workflows/pre-commit | ||
- github/workflows/release-drafter | ||
- github/workflows/terraform-workflow |
76 changes: 76 additions & 0 deletions
76
struct_module/contribs/github/workflows/release-drafter.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
structure: | ||
- .github/workflows/release-drafter.yaml: | ||
content: | | ||
name: Release Drafter | ||
on: | ||
push: | ||
branches: | ||
- {{@ current_repo() | default_branch @}} | ||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@{{@ "actions/checkout" | latest_release @}} | ||
with: | ||
fetch-depth: 0 | ||
- uses: release-drafter/release-drafter@{{@ "release-drafter/release-drafter" | latest_release @}} | ||
id: release-drafter | ||
with: | ||
config-name: release-drafter.yml | ||
publish: false | ||
prerelease: false | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: version | ||
id: version | ||
run: | | ||
git pull --tags | ||
echo ${{ steps.release-drafter.outputs.tag_name }} | ||
tag=${{ steps.release-drafter.outputs.tag_name }} | ||
version=${tag#v} | ||
major=${version%%.*} | ||
echo "tag=${tag}" >> $GITHUB_OUTPUT | ||
echo "version=${version}" >> $GITHUB_OUTPUT | ||
echo "major=${major}" >> $GITHUB_OUTPUT | ||
- name: force update major tag | ||
run: | | ||
git tag v${{ steps.version.outputs.major }} ${{ steps.version.outputs.tag }} -f | ||
git push origin refs/tags/v${{ steps.version.outputs.major }} -f | ||
- .github/release-drafter.yml: | ||
content: | | ||
name-template: "v$RESOLVED_VERSION 🌈" | ||
tag-template: "v$RESOLVED_VERSION" | ||
categories: | ||
- title: "🚀 Features" | ||
labels: | ||
- "feature" | ||
- "enhancement" | ||
- title: "🐛 Bug Fixes" | ||
labels: | ||
- "fix" | ||
- "bugfix" | ||
- "bug" | ||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)" | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
version-template: "$MAJOR.$MINOR.$PATCH" | ||
version-resolver: | ||
major: | ||
labels: | ||
- "major" | ||
minor: | ||
labels: | ||
- "minor" | ||
patch: | ||
labels: | ||
- "patch" | ||
default: patch | ||
template: | | ||
## Changes | ||
$CHANGES |
3 changes: 3 additions & 0 deletions
3
struct_module/contribs/github/workflows/terraform-workflow.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
structure: | ||
- .github/workflows/terrform-workflow.yaml: | ||
file: https://raw.githubusercontent.com/httpdss/github-workflows/main/.github/workflows/terraform-workflow.yaml |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.