Skip to content

Commit

Permalink
fix: cleanup workflows and makefile (#2150)
Browse files Browse the repository at this point in the history
* cleanup workflows and makefile

* update makefile

* update makefile

* update makefile

* update makefile

* update makefile

* update makefile

* update makefile

* update makefile

* update makefile

* update makefile

* add skip tests

* rename files and remove copywrite

* remove license

* remove license

* remove license

* fix comments

* change to yml

* fmt

* revert goreleaser

* revert reviewdog file

* update makefile

* remove check-fmt

* fix comments

* mod fix

* update docs

* update docs

* update makefile
  • Loading branch information
sfc-gh-swinkler authored Nov 22, 2023
1 parent e3d405c commit 64335e7
Show file tree
Hide file tree
Showing 57 changed files with 2,261 additions and 1,023 deletions.
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Bug Report
description: Something is incorrect or not working as expected.
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill out this bug report! Please note that this issue tracker is only used for bug reports and feature requests. Other issues will be closed.
If you have a configuration, workflow, or other question, please go back to the issue chooser and select one of the question links.
- type: textarea
id: versions
attributes:
label: Terraform CLI and Provider Versions
description: What versions of Terraform CLI and the provider?
placeholder: Output of `terraform version` from configuration directory
validations:
required: true
- type: textarea
id: terraform-configuration
attributes:
label: Terraform Configuration
description: Please copy and paste any relevant Terraform configuration. This will be automatically formatted into code, so no need for backticks.
render: terraform
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: What did you expect to happen?
placeholder: Description of what should have happened.
validations:
required: true
- type: textarea
id: actual-behavior
attributes:
label: Actual Behavior
description: What actually happened?
placeholder: Description of what actually happened.
validations:
required: true
- type: textarea
id: reproduction-steps
attributes:
label: Steps to Reproduce
description: List of steps to reproduce the issue.
value: |
1. `terraform apply`
validations:
required: true
- type: dropdown
id: impact
attributes:
label: How much impact is this issue causing?
description: High represents completely not able to use the provider or unexpected destruction of data/infrastructure. Medium represents unable to upgrade provider version or an issue with potential workaround. Low represents minor provider code, configuration, or documentation issues.
options:
- High
- Medium
- Low
validations:
required: true
- type: input
id: logs
attributes:
label: Logs
description: Please provide a link to a [GitHub Gist](https://gist.github.com) containing TRACE log output. [Terraform Debugging Documentation](https://www.terraform.io/internals/debugging)
placeholder: https://gist.github.com/example/12345678
validations:
required: false
- type: textarea
id: additional-information
attributes:
label: Additional Information
description: Are there any additional details about your environment, workflow, or recent changes that might be relevant? Have you discovered a workaround? Are there links to other related issues?
validations:
required: false
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: "Report a Documentation Error"
description: "Choose this option if you've found an error in the provider documentation or contribution guides."
title: "[Docs]: "
labels: ["documentation"]
body:
- type: markdown
attributes:
value: |
# Thank you for raising a documentation issue!
This form is meant to alert the maintainers to an issue with the provider documentation found on the [Terraform Registry](https://registry.terraform.io/providers/hashicorp/snowflake/latest) (such as resource and data source documentation, guides and examples), as well as the [contribution guide](https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/CONTRIBUTING.md).
Documentation edits are generally a bit less involved, so are often a great entrypoint if you've ever been interested in contributing!
- type: input
id: registry_link
attributes:
label: Documentation Link
description: Please provide a link to the affected page on the Terraform Registry or contribution guide.
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
description: Please leave a brief description of the documentation issue.
validations:
required: true

- type: textarea
id: references
attributes:
label: References
description: |
Where possible, please supply links to Snowflake SQL documentation, other GitHub issues (open or closed) or pull requests that give additional context.
[Information about referencing Github Issues](https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests)
validations:
required: false

- type: dropdown
id: will_contribute
attributes:
label: Would you like to implement a fix?
description: |
If you plan to implement a fix for this, check this box to let the maintainers and community know (you can update this later if you change your mind). If this would be your first contribution, refer to the [contribution guide](https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/CONTRIBUTING.md) for tips on getting started.
options:
- "No"
- "Yes"
validations:
required: false
24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Feature Request
description: Something is missing or could be improved.
labels: ["feature-request"]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to fill out this feature request! Please note that this issue tracker is only used for bug reports and feature requests. Other issues will be closed.
If you have a configuration, workflow, or other question, please go back to the issue chooser and select one of the question links.
- type: textarea
id: versions
attributes:
label: Terraform CLI and Provider Versions
description: What versions of Terraform CLI and the provider?
placeholder: Output of `terraform version` from configuration directory
validations:
required: true
- type: textarea
id: use-case
attributes:
label: Use Cases or Problem Statement
description: What use cases or problems are you trying to solve?
placeholder: Description of use cases or problems.
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposal
description: What solutions would you prefer?
placeholder: Description of proposed solutions.
validations:
required: true
- type: dropdown
id: impact
attributes:
label: How much impact is this issue causing?
description: High represents completely not able to use the provider without this. Medium represents unable to solve a specific problem or understand something. Low represents minor provider code, configuration, or documentation issues.
options:
- High
- Medium
- Low
validations:
required: true
- type: textarea
id: additional-information
attributes:
label: Additional Information
description: Are there any additional details about your environment, workflow, or recent changes that might be relevant? Have you discovered a workaround? Are there links to other related issues?
validations:
required: false
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ version: 2
updates:
- package-ecosystem: gomod
directory: '/'
open-pull-requests-limit: 10
schedule:
interval: daily
- package-ecosystem: "gomod"
directory: "/tools"
open-pull-requests-limit: 10
schedule:
interval: "daily"
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/docs-and-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: check
on:
push:
branches:
- main
pull_request:

permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read

jobs:
docs-and-fmt:
name: docs and fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: ./go.mod
cache: false
- run: make docs-check
- run: if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then exit 1; fi
name: check gofmt
43 changes: 0 additions & 43 deletions .github/workflows/go-fmt.yml

This file was deleted.

Loading

0 comments on commit 64335e7

Please sign in to comment.