generated from masterpointio/terraform-module-template
-
Couldn't load subscription status.
- Fork 0
сhore: update GH worklows + add various repo configs #2
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
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,90 @@ | ||
| # Docs: https://docs.coderabbit.ai/configure-coderabbit | ||
| # Schema: https://coderabbit.ai/integrations/schema.v2.json | ||
| # Support: https://discord.gg/GsXnASn26c | ||
|
|
||
| language: en | ||
|
|
||
| tone_instructions: | | ||
| Provide feedback in a professional, friendly, constructive, and concise tone. | ||
| Offer clear, specific suggestions and best practices to help enhance the code quality and promote learning. | ||
|
|
||
| early_access: true | ||
|
|
||
| knowledge_base: | ||
| # The scope of learnings to use for the knowledge base. | ||
| # `local` uses the repository's learnings, | ||
| # `global` uses the organization's learnings, | ||
| # `auto` uses repository's learnings for public repositories and organization's learnings for private repositories. | ||
| # Default value: `auto` | ||
| learnings: | ||
| scope: global | ||
| issues: | ||
| scope: global | ||
| pull_requests: | ||
| scope: global | ||
|
|
||
| reviews: | ||
| profile: chill | ||
| auto_review: | ||
| # Ignore reviewing if the title of the pull request contains any of these keywords (case-insensitive) | ||
| ignore_title_keywords: | ||
| - wip | ||
| - draft | ||
| - test | ||
| # Set the commit status to 'pending' when the review is in progress and 'success' when it is complete. | ||
| commit_status: false | ||
| # Post review details on each review. Additionally, post a review status when a review is skipped in certain cases. | ||
| review_status: false | ||
| path_instructions: | ||
| - path: "**/*.tf" | ||
| instructions: | | ||
| You're a Terraform expert who has thoroughly studied all the documentation from Hashicorp https://developer.hashicorp.com/terraform/docs and OpenTofu https://opentofu.org/docs/. | ||
| You have a strong grasp of Terraform syntax and prioritize providing accurate and insightful code suggestions. | ||
| As a fan of the Cloud Posse / SweetOps ecosystem, you incorporate many of their best practices https://docs.cloudposse.com/best-practices/terraform/ while balancing them with general Terraform guidelines. | ||
| tools: | ||
| # By default, all tools are enabled. | ||
| # Masterpoint uses Trunk (https://trunk.io) so we do not need a lot of this feedback due to overlap. | ||
| shellcheck: | ||
| enabled: false | ||
| ruff: | ||
| enabled: false | ||
| markdownlint: | ||
| enabled: false | ||
| github-checks: | ||
| enabled: false | ||
| languagetool: | ||
| enabled: false | ||
| biome: | ||
| enabled: false | ||
| hadolint: | ||
| enabled: false | ||
| swiftlint: | ||
| enabled: false | ||
| phpstan: | ||
| enabled: false | ||
| golangci-lint: | ||
| enabled: false | ||
| yamllint: | ||
| enabled: false | ||
| gitleaks: | ||
| enabled: false | ||
| checkov: | ||
| enabled: false | ||
| detekt: | ||
| enabled: false | ||
| eslint: | ||
| enabled: false | ||
| rubocop: | ||
| enabled: false | ||
| buf: | ||
| enabled: false | ||
| regal: | ||
| enabled: false | ||
| actionlint: | ||
| enabled: false | ||
| pmd: | ||
| enabled: false | ||
| cppcheck: | ||
| enabled: false | ||
| circleci: | ||
| enabled: false |
This file contains hidden or 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,7 @@ | ||
| # Use this file to define individuals or teams that are responsible for code in a repository. | ||
| # Read more: <https://help.github.com/articles/about-codeowners/> | ||
| # | ||
| # Order is important: the last matching pattern takes the most precedence | ||
|
|
||
| # These owners will be the default owners for everything | ||
| * @masterpointio/masterpoint-internal |
This file contains hidden or 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,15 @@ | ||
| ## what | ||
|
|
||
| - Describe high-level what changed as a result of these commits (i.e. in plain-english, what do these changes mean?) | ||
| - Use bullet points to be concise and to the point. | ||
|
|
||
| ## why | ||
|
|
||
| - Provide the justifications for the changes (e.g. business case). | ||
| - Describe why these changes were made (e.g. why do these commits fix the problem?) | ||
| - Use bullet points to be concise and to the point. | ||
|
|
||
| ## references | ||
|
|
||
| - Link to any supporting GitHub issues or helpful documentation to add some context (e.g. Stackoverflow). | ||
| - Use `closes #123`, if this PR closes a GitHub issue `#123` |
File renamed without changes.
This file contains hidden or 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,18 @@ | ||
| name: Release Please | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| release-please: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f #v4.1.3 | ||
| with: | ||
| release-type: terraform-module |
This file contains hidden or 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 @@ | ||
| name: Trunk Upgrade | ||
|
|
||
| on: | ||
| schedule: | ||
| # On the first day of every month @ 8am | ||
| - cron: 0 8 1 * * | ||
| workflow_dispatch: {} | ||
|
|
||
| permissions: read-all | ||
|
|
||
| jobs: | ||
| trunk-upgrade: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| # For trunk to create PRs | ||
| contents: write | ||
| pull-requests: write | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2 | ||
|
|
||
| - name: Create Token for MasterpointBot App | ||
| uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a #v2.1.0 | ||
| id: generate-token | ||
| with: | ||
| app_id: ${{ secrets.MP_BOT_APP_ID }} | ||
| private_key: ${{ secrets.MP_BOT_APP_PRIVATE_KEY }} | ||
|
|
||
| - name: Upgrade | ||
| uses: trunk-io/trunk-action/upgrade@4d5ecc89b2691705fd08c747c78652d2fc806a94 #v1.1.19 | ||
| with: | ||
| github-token: ${{ steps.generate-token.outputs.token }} | ||
| reviewers: "@masterpointio/masterpoint-internal" | ||
| prefix: "chore: " | ||
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.