-
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.
feat(resolves #17): Use newer flagscript cicd framework.
- Loading branch information
Greg Kaestle
committed
Aug 23, 2024
1 parent
0c831fd
commit cbf286d
Showing
8 changed files
with
115 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: release | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: release #your environment name | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- name: Semantic Release | ||
uses: cycjimmy/semantic-release-action@v4 | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# echo "Generating pre-commit flag" | ||
# touch .commit | ||
terraform fmt -check |
This file was deleted.
Oops, something went wrong.
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,34 @@ | ||
{ | ||
"branches": [ | ||
"main" | ||
], | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
[ | ||
"@semantic-release/changelog", | ||
{ | ||
"changelogFile": "CHANGELOG.md" | ||
} | ||
], | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
"assets": [ | ||
"CHANGELOG.md" | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/github", | ||
{ | ||
"assets": [ | ||
{ | ||
"path": "CHANGELOG.md", | ||
"label": "CHANGELOG" | ||
} | ||
] | ||
} | ||
] | ||
] | ||
} |
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,30 @@ | ||
{ | ||
"name": "terraform-aws-flagscript-organization", | ||
"description": "Flagscript structured organization and account setup modules adhering to reasonable aws standards.", | ||
"main": "index.js", | ||
"scripts": { | ||
"prepare": "husky" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/flagscript/terraform-aws-flagscript-organization.git" | ||
}, | ||
"keywords": [ | ||
"flagscript", | ||
"aws", | ||
"terraform", | ||
"kms" | ||
], | ||
"author": { | ||
"name": "Greg Kaestle", | ||
"email": "[email protected]" | ||
}, | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/flagscript/terraform-aws-flagscript-organization/issues" | ||
}, | ||
"homepage": "https://github.com/flagscript/terraform-aws-flagscript-organization#readme", | ||
"dependencies": { | ||
"husky": "^9.1.5" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.