Skip to content

Commit e41d790

Browse files
committed
chore: checkout .github/ files from main branch
1 parent 77957c2 commit e41d790

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1235
-1185
lines changed

.github/dependabot.yml renamed to .github/dependabot.yml.disable

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ updates:
2626
ignore:
2727
# aws/smithy-go should only be updated via aws/aws-sdk-go-v2
2828
- dependency-name: "github.com/aws/smithy-go"
29-
# go-cty should only be updated via terraform-plugin-sdk
30-
- dependency-name: "github.com/hashicorp/go-cty"
3129
# hcl/v2 should only be updated via terraform-plugin-sdk
3230
- dependency-name: "github.com/hashicorp/hcl/v2"
3331
# terraform-plugin-go should only be updated via terraform-plugin-framework
@@ -49,6 +47,7 @@ updates:
4947
- "/.ci/providerlint"
5048
- "/.ci/tools"
5149
- "/skaff"
50+
- "/tools/awssdkpatch"
5251
- "/tools/tfsdk2fw"
5352
schedule:
5453
interval: "daily"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
needs-triage:
2+
- '.*'

.github/labeler-issue-triage.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ bug:
1515
# doesn't support update
1616
# Invalid address to set
1717
- "(\\[Bug\\]:|doesn't support update|failed to satisfy constraint: Member must not be null|Invalid address to set|panic:|produced an (invalid|unexpected) new value|Provider produced inconsistent (final plan|result after apply))"
18+
crash:
19+
- 'panic:'
1820
sweeper:
1921
- 'sweeper'
2022
skaff:
@@ -97,8 +99,6 @@ service/bedrock:
9799
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_bedrock_'
98100
service/bedrockagent:
99101
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_bedrockagent_'
100-
service/billing:
101-
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_billing_'
102102
service/billingconductor:
103103
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_billingconductor_'
104104
service/braket:
@@ -233,8 +233,6 @@ service/drs:
233233
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_drs_'
234234
service/ds:
235235
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_directory_service_'
236-
service/dsql:
237-
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_dsql_'
238236
service/dynamodb:
239237
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_dynamodb_'
240238
service/dynamodbstreams:
@@ -337,8 +335,6 @@ service/inspector2:
337335
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_inspector2_'
338336
service/internetmonitor:
339337
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_internetmonitor_'
340-
service/invoicing:
341-
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_invoicing_'
342338
service/iot:
343339
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_iot_'
344340
service/iot1clickdevices:
@@ -603,8 +599,6 @@ service/s3control:
603599
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_(s3_account_|s3control_|s3_access_)'
604600
service/s3outposts:
605601
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_s3outposts_'
606-
service/s3tables:
607-
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_s3tables_'
608602
service/sagemaker:
609603
- '((\*|-)\s*`?|(data|resource)\s+"?)aws_sagemaker_'
610604
service/sagemakera2iruntime:

.github/labeler-issue-trigger.yml

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

.github/labeler-pr-triage.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,6 @@ service/bedrockagent:
331331
- any-glob-to-any-file:
332332
- 'internal/service/bedrockagent/**/*'
333333
- 'website/**/bedrockagent_*'
334-
service/billing:
335-
- any:
336-
- changed-files:
337-
- any-glob-to-any-file:
338-
- 'internal/service/billing/**/*'
339-
- 'website/**/billing_*'
340334
service/billingconductor:
341335
- any:
342336
- changed-files:
@@ -477,7 +471,6 @@ service/cloudwatch:
477471
- 'website/**/cloudwatch_dashboard*'
478472
- 'website/**/cloudwatch_metric_*'
479473
- 'website/**/cloudwatch_composite_*'
480-
- 'website/**/cloudwatch_contributor_*'
481474
service/codeartifact:
482475
- any:
483476
- changed-files:
@@ -746,12 +739,6 @@ service/ds:
746739
- any-glob-to-any-file:
747740
- 'internal/service/ds/**/*'
748741
- 'website/**/directory_service_*'
749-
service/dsql:
750-
- any:
751-
- changed-files:
752-
- any-glob-to-any-file:
753-
- 'internal/service/dsql/**/*'
754-
- 'website/**/dsql_*'
755742
service/dynamodb:
756743
- any:
757744
- changed-files:
@@ -1087,12 +1074,6 @@ service/internetmonitor:
10871074
- any-glob-to-any-file:
10881075
- 'internal/service/internetmonitor/**/*'
10891076
- 'website/**/internetmonitor_*'
1090-
service/invoicing:
1091-
- any:
1092-
- changed-files:
1093-
- any-glob-to-any-file:
1094-
- 'internal/service/invoicing/**/*'
1095-
- 'website/**/invoicing_*'
10961077
service/iot:
10971078
- any:
10981079
- changed-files:
@@ -1909,12 +1890,6 @@ service/s3outposts:
19091890
- any-glob-to-any-file:
19101891
- 'internal/service/s3outposts/**/*'
19111892
- 'website/**/s3outposts_*'
1912-
service/s3tables:
1913-
- any:
1914-
- changed-files:
1915-
- any-glob-to-any-file:
1916-
- 'internal/service/s3tables/**/*'
1917-
- 'website/**/s3tables_*'
19181893
service/sagemaker:
19191894
- any:
19201895
- changed-files:
@@ -2266,7 +2241,6 @@ service/vpc:
22662241
- 'website/**/vpc_security_group_*'
22672242
- 'website/**/vpc\.*'
22682243
- 'website/**/vpcs\.*'
2269-
- 'website/**/vpc_block_public_access_*'
22702244
service/vpclattice:
22712245
- any:
22722246
- changed-files:

.github/workflows/acctest-terraform-embedded-lint.yml renamed to .github/workflows.disabled/acctest-terraform-embedded-lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27-
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
27+
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
2828
with:
2929
go-version-file: go.mod
30-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
30+
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
3131
continue-on-error: true
3232
timeout-minutes: 2
3333
with:
@@ -52,16 +52,16 @@ jobs:
5252

5353
steps:
5454
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
55-
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
55+
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
5656
with:
5757
go-version-file: go.mod
58-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
58+
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
5959
continue-on-error: true
6060
timeout-minutes: 2
6161
with:
6262
path: ~/go/pkg/mod
6363
key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
64-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
64+
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
6565
name: Cache plugin dir
6666
continue-on-error: true
6767
timeout-minutes: 2

.github/workflows/acctest-terraform-lint.yml renamed to .github/workflows.disabled/acctest-terraform-lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26-
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
26+
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
2727
with:
2828
go-version-file: go.mod
29-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
29+
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
3030
continue-on-error: true
3131
timeout-minutes: 2
3232
with:
@@ -42,16 +42,16 @@ jobs:
4242

4343
steps:
4444
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
45-
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
45+
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
4646
with:
4747
go-version-file: go.mod
48-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
48+
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
4949
continue-on-error: true
5050
timeout-minutes: 2
5151
with:
5252
path: ~/go/pkg/mod
5353
key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
54-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
54+
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
5555
name: Cache plugin dir
5656
continue-on-error: true
5757
timeout-minutes: 2
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: CHANGELOG Checks
2+
on:
3+
pull_request_target:
4+
paths:
5+
- CHANGELOG.md
6+
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
11+
## NOTE: !!!
12+
## When changing these workflows, ensure that the following is updated:
13+
## - Documentation: docs/continuous-integration.md
14+
## - Documentation: docs/makefile-cheat-sheet.md
15+
## - Makefile: ./GNUmakefile
16+
17+
jobs:
18+
comment:
19+
name: Comment on Non-Maintainer Edit
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout Community Check
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
with:
25+
sparse-checkout: .github/actions/community_check
26+
27+
- name: Run Community Check
28+
id: community_check
29+
uses: ./.github/actions/community_check
30+
with:
31+
user_login: ${{ github.event.pull_request.user.login }}
32+
maintainers: ${{ secrets.MAINTAINERS }}
33+
34+
- name: Check for Existing Comment
35+
id: prc
36+
if: steps.community_check.outputs.maintainer == 'false'
37+
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3.1.0
38+
with:
39+
issue-number: ${{ github.event.pull_request.number }}
40+
comment-author: "github-actions[bot]"
41+
body-includes: "Please note that the `CHANGELOG.md` file contents are handled by the maintainers during merge"
42+
43+
- name: Leave a New Comment
44+
if: steps.prc.outputs.comment-id == ''
45+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
with:
49+
issue-number: ${{ github.event.pull_request.number }}
50+
body: |-
51+
Thank you for your contribution! :rocket:
52+
53+
Please note that the `CHANGELOG.md` file contents are handled by the maintainers during merge. This is to prevent pull request merge conflicts, especially for contributions which may not be merged immediately. Please see the [Contributing Guide](https://github.com/hashicorp/terraform-provider-aws/blob/main/docs/contributing) for additional pull request review items.
54+
55+
Remove any changes to the `CHANGELOG.md` file and commit them in this pull request to prevent delays with reviewing and potentially merging this pull request.

.github/workflows/changelog_misspell.yml renamed to .github/workflows.disabled/changelog_misspell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24-
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
24+
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
2525
with:
2626
go-version-file: go.mod
27-
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
27+
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
2828
continue-on-error: true
2929
timeout-minutes: 2
3030
with:

.github/workflows/comments.yml renamed to .github/workflows.disabled/comments-feed.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Comment Automations
22

33
permissions:
44
contents: read
5-
issues: write
6-
pull-requests: write
75

86
on:
97
issue_comment:
@@ -13,7 +11,8 @@ jobs:
1311
comment:
1412
runs-on: ubuntu-latest
1513
steps:
16-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14+
- name: Checkout Community Check
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1716
with:
1817
sparse-checkout: .github/actions/community_check
1918

@@ -24,29 +23,20 @@ jobs:
2423
user_login: ${{ github.event.comment.user.login }}
2524
maintainers: ${{ secrets.MAINTAINERS }}
2625

27-
- name: Remove stale and waiting-response Labels on Non-Maintainer Comment
28-
env:
29-
COMMAND: ${{ github.event.issue.pull_request && 'pr' || 'issue' }}
30-
GH_TOKEN: ${{ github.token }}
31-
if: |
32-
steps.community_check.outputs.maintainer == 'false'
33-
&& (contains(github.event.issue.labels.*.name, 'stale') || contains(github.event.issue.labels.*.name, 'waiting-response'))
34-
run: gh $COMMAND edit ${{ github.event.issue.html_url }} --remove-label stale,waiting-response
35-
36-
- name: Notify Slack Feed on Maintainer Comment
26+
- name: Maintainer Comment
3727
if: |
3828
steps.community_check.outputs.maintainer == 'true'
3929
&& github.actor != 'dependabot[bot]'
40-
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
30+
uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0
4131
env:
4232
COMMENT_AUTHOR_URL: ${{ github.event.comment.user.html_url }}
4333
COMMENT_AUTHOR_LOGIN: ${{ github.event.comment.user.login }}
4434
COMMENT_URL: ${{ github.event.comment.html_url }}
4535
ISSUE_URL: ${{ github.event.issue.html_url }}
4636
ISSUE_TITLE: ${{ github.event.issue.title }}
37+
SLACK_WEBHOOK_URL: ${{ secrets.FEED_SLACK_WEBHOOK_URL }}
38+
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
4739
with:
48-
webhook: ${{ secrets.FEED_SLACK_WEBHOOK_URL }}
49-
webhook-type: incoming-webhook
5040
payload: |
5141
{
5242
"blocks": [

0 commit comments

Comments
 (0)