Skip to content
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

feat: Add Squash merge commit message/title #68

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

fatbasstard
Copy link
Contributor

This PR adds the configuration of the squash commit message/title. Will be specified when allow_squash_merge is true.

Tested this out, and the commit title/message have a default value, so configured this explicitly for simplicity:

  ~ resource "github_repository" "default" {
      ~ allow_squash_merge          = false -> true
      ~ squash_merge_commit_message = "COMMIT_MESSAGES" -> "BLANK"
      ~ squash_merge_commit_title   = "COMMIT_OR_PR_TITLE" -> "PR_TITLE"
        # (33 unchanged attributes hidden)
    }

Links:

@fatbasstard fatbasstard requested a review from a team as a code owner August 12, 2024 08:54
Copy link
Contributor

Terraform Format and Style 🖌success

Terraform Initialization ⚙️``

Terraform Lint 📖success

Terraform Validation 🤖skipped

Validation Output


@github-actions github-actions bot added the feature New feature or request label Aug 12, 2024
@fatbasstard fatbasstard merged commit c6d446c into master Aug 12, 2024
@fatbasstard fatbasstard deleted the fvb/squash-commit-message branch August 12, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants