Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: Begin automating the release process #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions 32 .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
".": {
"changelog-sections": [
{
"hidden": false,
"section": "New features",
"type": "feat"
},
{
"hidden": false,
"section": "Bug fixes",
"type": "fix"
},
{
"hidden": false,
"section": "Miscellaneous",
"type": "chore"
}
],
"draft": false,
"extra-label": "automata 🤖,autorelease: pending,chore 🧹",
"include-v-in-tag": true,
"initial-version": "1.8.0",
"prerelease": false,
"pull-request-header": "🤖 I have created a release",
"pull-request-title-pattern": "chore: Release v${version}",
"release-type": "terraform-module"
}
}
}
1 change: 1 addition & 0 deletions 1 .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
21 changes: 19 additions & 2 deletions 21 .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths-ignore:
- .editorconfig
- .gitignore
- CHANGELOG.md
- LICENSE.md
- README.md
push:
Expand All @@ -15,6 +16,7 @@ on:
paths-ignore:
- .editorconfig
- .gitignore
- CHANGELOG.md
- LICENSE.md
- README.md

Expand All @@ -26,7 +28,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
uses: hashicorp/setup-terraform@v3
with:
terraform_version: ${{ matrix.terraform_version }}
- name: Initialise with no backend
Expand All @@ -48,8 +50,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: ${{ secrets.AWS_REGION }}
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github
- run: aws sts get-caller-identity

release:
name: Release?
needs: [ caller-identity ]
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Prepare a release
uses: google-github-actions/release-please-action@v4
with:
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
token: ${{ secrets.GITHUB_TOKEN }}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.