Skip to content

Commit 200f9fe

Browse files
authored
Merge branch 'main' into bendbennett/issues-112
2 parents 7bea442 + d280bc8 commit 200f9fe

File tree

7 files changed

+36
-45
lines changed

7 files changed

+36
-45
lines changed

.github/workflows/add-content-to-project.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: "Set Issue to 'Priority = Triage Next'"
22-
uses: leonsteinhaeuser/[email protected]
22+
uses: leonsteinhaeuser/project-beta-automations@7f947733020ee03daa363d16ea1223717b132f11 # v2.0.1
2323
if: github.event_name == 'issues'
2424
with:
2525
gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }}
@@ -29,7 +29,7 @@ jobs:
2929
operation_mode: custom_field
3030
custom_field_values: '[{\"name\":\"Priority\",\"type\":\"single_select\",\"value\":\"Triage Next\"}]'
3131
- name: "Set Pull Request to 'Priority = Triage Next'"
32-
uses: leonsteinhaeuser/[email protected]
32+
uses: leonsteinhaeuser/project-beta-automations@7f947733020ee03daa363d16ea1223717b132f11 # v2.0.1
3333
if: github.event_name == 'pull_request_target'
3434
with:
3535
gh_token: ${{ secrets.TF_DEVEX_PROJECT_GITHUB_TOKEN }}

.github/workflows/issue-comment-created.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
issue_comment_triage:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions-ecosystem/action-remove-labels@v1
11+
- uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1.3.0
1212
with:
1313
labels: |
1414
stale

.github/workflows/issue-opened.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
issue_triage:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: github/issue-labeler@v2
11+
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
12+
- uses: github/issue-labeler@6ca237433dbbb8e475241b7f38f4600d9e296c57 # v2.5
1313
with:
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1515
configuration-path: .github/labeler-issue-triage.yml

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
triage:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/labeler@v4
14+
- uses: actions/labeler@5c7539237e04b714afd8ad9b4aed733815b9fab4 # v4.0.2
1515
with:
1616
configuration-path: .github/labeler-pull-request-triage.yml
1717
repo-token: "${{ secrets.GITHUB_TOKEN }}"
18-
- uses: CodelyTV/pr-size-labeler@v1
18+
- uses: CodelyTV/pr-size-labeler@54ef36785e9f4cb5ecf1949cfc9b00dbb621d761 # v1.8.1
1919
with:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121
xs_label: 'size/XS'

.github/workflows/release.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,23 @@ permissions:
99
contents: write
1010

1111
jobs:
12-
go-version:
13-
runs-on: ubuntu-latest
14-
outputs:
15-
version: ${{ steps.go-version.outputs.version }}
16-
steps:
17-
- uses: actions/checkout@v3
18-
- id: go-version
19-
run: echo "::set-output name=version::$(cat ./.go-version)"
2012
release-notes:
2113
runs-on: ubuntu-latest
2214
steps:
23-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
2416
with:
2517
fetch-depth: 0
2618
- name: Generate Release Notes
2719
run: sed -n -e "1{/# /d;}" -e "2{/^$/d;}" -e "/# $(git describe --abbrev=0 --exclude="$(git describe --abbrev=0 --match='v*.*.*' --tags)" --match='v*.*.*' --tags | tr -d v)/q;p" CHANGELOG.md > release-notes.txt
28-
- uses: actions/upload-artifact@v3
20+
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
2921
with:
3022
name: release-notes
3123
path: release-notes.txt
3224
retention-days: 1
3325
terraform-provider-release:
3426
name: 'Terraform Provider Release'
35-
needs: [go-version, release-notes]
36-
uses: hashicorp/ghaction-terraform-provider-release/.github/workflows/hashicorp.yml@v2
27+
needs: [release-notes]
28+
uses: hashicorp/ghaction-terraform-provider-release/.github/workflows/hashicorp.yml@106e6d08159ccec423310cc2c706bae59f46c09c # v2.2.0
3729
secrets:
3830
hc-releases-github-token: '${{ secrets.HASHI_RELEASES_GITHUB_TOKEN }}'
3931
hc-releases-host-staging: '${{ secrets.HC_RELEASES_HOST_STAGING }}'
@@ -46,6 +38,6 @@ jobs:
4638
signore-client-secret: '${{ secrets.SIGNORE_CLIENT_SECRET }}'
4739
with:
4840
release-notes: true
49-
setup-go-version: '${{ needs.go-version.outputs.version }}'
41+
setup-go-version-file: 'go.mod'
5042
# Product Version (e.g. v1.2.3 or github.ref_name)
5143
product-version: '${{ github.ref_name }}'

.github/workflows/test.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ jobs:
1919
timeout-minutes: 5
2020
steps:
2121

22-
- name: Check out code into the Go module directory
23-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
22+
- name: Check out code into the Go module directory
23+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
2424

25-
- name: Set up Go
26-
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
27-
with:
28-
go-version-file: 'go.mod'
29-
id: go
25+
- name: Set up Go
26+
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
27+
with:
28+
go-version-file: 'go.mod'
29+
id: go
3030

31-
- name: Go fmt
32-
run: |
33-
make fmt
31+
- name: Go fmt
32+
run: |
33+
make fmt
3434
3535
- name: Go vet
3636
run: |
@@ -58,19 +58,19 @@ jobs:
5858
- '0.15.1'
5959
steps:
6060

61-
- name: Check out code into the Go module directory
62-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
61+
- name: Check out code into the Go module directory
62+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
6363

64-
- name: Set up Go
65-
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
66-
with:
67-
go-version-file: 'go.mod'
68-
id: go
64+
- name: Set up Go
65+
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
66+
with:
67+
go-version-file: 'go.mod'
68+
id: go
6969

70-
- name: TF acceptance tests
71-
timeout-minutes: 10
72-
env:
73-
TF_ACC: "1"
74-
TF_ACC_TERRAFORM_VERSION: ${{ matrix.terraform }}
75-
run: |
76-
go test -v -cover ./internal/provider/
70+
- name: TF acceptance tests
71+
timeout-minutes: 10
72+
env:
73+
TF_ACC: "1"
74+
TF_ACC_TERRAFORM_VERSION: ${{ matrix.terraform }}
75+
run: |
76+
go test -v -cover ./internal/provider/

.go-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)