Skip to content

Commit 355c9ce

Browse files
authored
Migrate from CircleCI to GitHub Actions for testing and releases, enable linting and changelog (#866)
Reference: #794 All testing and linting workflows verified as successful via: ```shell act -s GITHUB_TOKEN=$GITHUB_TOKEN pull_request ```
1 parent 8566d36 commit 355c9ce

File tree

21 files changed

+459
-383
lines changed

21 files changed

+459
-383
lines changed

.changelog-note.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{{- define "note" -}}
2+
{{.Body}} ([#{{- .Issue -}}](https://github.com/hashicorp/terraform-plugin-sdk/issues/{{- .Issue -}}))
3+
{{- end -}}

.changelog.tmpl

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{{- if .NotesByType.note -}}
2+
NOTES:
3+
{{range .NotesByType.note -}}
4+
* {{ template "note" .}}
5+
{{ end -}}
6+
{{- end -}}
7+
8+
{{- if .NotesByType.deprecation -}}
9+
DEPRECATIONS:
10+
{{range .NotesByType.deprecation -}}
11+
* {{ template "note" .}}
12+
{{ end -}}
13+
{{- end -}}
14+
15+
{{- if index .NotesByType "breaking-change" -}}
16+
BREAKING CHANGES:
17+
{{range index .NotesByType "breaking-change" -}}
18+
* {{ template "note" .}}
19+
{{ end -}}
20+
{{- end -}}
21+
22+
{{- if .NotesByType.feature }}
23+
FEATURES:
24+
{{range .NotesByType.feature | sort -}}
25+
* {{ template "note" . }}
26+
{{ end -}}
27+
{{- end -}}
28+
29+
{{- if .NotesByType.enhancement }}
30+
ENHANCEMENTS:
31+
{{range .NotesByType.enhancement | sort -}}
32+
* {{ template "note" . }}
33+
{{ end -}}
34+
{{- end -}}
35+
36+
{{- if .NotesByType.bug }}
37+
BUG FIXES:
38+
{{range .NotesByType.bug -}}
39+
* {{ template "note" . }}
40+
{{ end -}}
41+
{{- end -}}
42+

.circleci/config.yml

Lines changed: 0 additions & 164 deletions
This file was deleted.

0 commit comments

Comments
 (0)