Skip to content

Commit c1ac74d

Browse files
doc: Remove github_repository unarchived note
2 parents 6c55876 + 7a217c2 commit c1ac74d

655 files changed

Lines changed: 13436 additions & 5588 deletions

File tree

Some content is hidden

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

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ body:
2525
validations:
2626
required: true
2727

28-
2928
- type: textarea
3029
id: terraform-version
3130
attributes:
@@ -45,8 +44,8 @@ body:
4544
description: |
4645
Please list the resources as a list. If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
4746
placeholder: |
48-
- github_repository
49-
- github_branch_protection
47+
- github_repository
48+
- github_branch_protection
5049
validations:
5150
required: true
5251

.github/dependabot.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
version: 2
2+
23
updates:
34
- package-ecosystem: github-actions
4-
directory: /
5+
directories:
6+
- /
57
groups:
68
github-actions:
9+
applies-to: version-updates
10+
patterns:
11+
- "*"
12+
update-types:
13+
- minor
14+
- patch
15+
github-actions-security:
16+
applies-to: security-updates
717
patterns:
818
- "*"
919
update-types:
@@ -13,9 +23,19 @@ updates:
1323
interval: weekly
1424

1525
- package-ecosystem: gomod
16-
directory: /
26+
directories:
27+
- /
28+
- /tools
1729
groups:
1830
gomod:
31+
applies-to: version-updates
32+
patterns:
33+
- "*"
34+
update-types:
35+
- minor
36+
- patch
37+
gomod-security:
38+
applies-to: security-updates
1939
patterns:
2040
- "*"
2141
update-types:

.github/labeler.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
# Configuration for labeler - https://github.com/actions/labeler
22
"Type: Breaking change":
33
- head-branch:
4-
- '^breaking/'
5-
- '^breaking-'
4+
- "^breaking/"
5+
- "^breaking-"
66

77
"Type: Feature":
88
- head-branch:
9-
- '^feat/'
10-
- '^feat-'
11-
- '^feature/'
12-
- '^feature-'
9+
- "^feat/"
10+
- "^feat-"
11+
- "^feature/"
12+
- "^feature-"
1313

1414
"Type: Bug":
1515
- head-branch:
16-
- '^fix/'
17-
- '^fix-'
18-
- '^bugfix/'
19-
- '^bugfix-'
20-
- '^bug/'
21-
- '^bug-'
16+
- "^fix/"
17+
- "^fix-"
18+
- "^bugfix/"
19+
- "^bugfix-"
20+
- "^bug/"
21+
- "^bug-"
2222

2323
"Deprecation":
2424
- head-branch:
25-
- '^deprecate/'
26-
- '^deprecate-'
27-
- '^deprecation/'
28-
- '^deprecation-'
25+
- "^deprecate/"
26+
- "^deprecate-"
27+
- "^deprecation/"
28+
- "^deprecation-"
2929

3030
"Type: Maintenance":
3131
- head-branch:
32-
- '^chore/'
33-
- '^chore-'
34-
- '^maintenance/'
35-
- '^maintenance-'
36-
- '^maint/'
37-
- '^maint-'
38-
- '^deps/'
39-
- '^deps-'
40-
- '^dependencies/'
41-
- '^dependencies-'
42-
# - changed-files:
43-
# - any-glob-to-any-file:
44-
# - .github/workflows/**
45-
# - .github/labeler.yml
46-
# - .github/dependabot.yml
47-
# - .github/release.yml
32+
- "^chore/"
33+
- "^chore-"
34+
- "^maintenance/"
35+
- "^maintenance-"
36+
- "^maint/"
37+
- "^maint-"
38+
- "^deps/"
39+
- "^deps-"
40+
- "^dependencies/"
41+
- "^dependencies-"
42+
# - changed-files:
43+
# - any-glob-to-any-file:
44+
# - .github/workflows/**
45+
# - .github/labeler.yml
46+
# - .github/dependabot.yml
47+
# - .github/release.yml
4848

4949
"Type: Documentation":
5050
- head-branch:
51-
- '^docs/'
52-
- '^docs-'
53-
- '^doc/'
54-
- '^doc-'
55-
# - changed-files:
56-
# - any-glob-to-any-file: 'website/**'
51+
- "^docs/"
52+
- "^docs-"
53+
- "^doc/"
54+
- "^doc-"
55+
# - changed-files:
56+
# - any-glob-to-any-file: 'website/**'

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Resolves #ISSUE_NUMBER
77
### Before the change?
88
<!-- Please describe the current behavior that you are modifying. -->
99

10-
-
10+
-
1111

1212
### After the change?
1313
<!-- Please describe the behavior or changes that are being added by this PR. -->
1414

15-
-
15+
-
1616

1717
### Pull request checklist
1818

.github/workflows/ci.yaml

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,60 @@ jobs:
2929
- name: Checkout
3030
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131
- name: Set-up Go
32-
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
32+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
3333
with:
3434
go-version-file: go.mod
3535
cache: true
3636
- run: make tools
3737
- run: make build
3838
- run: make test
39+
40+
docs:
41+
name: Documentation
42+
runs-on: ubuntu-latest
43+
permissions:
44+
contents: read
45+
defaults:
46+
run:
47+
shell: bash
48+
steps:
49+
- name: Checkout
50+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
51+
- name: Set-up Go
52+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
53+
with:
54+
go-version-file: go.mod
55+
cache: true
56+
- name: Set-up Terraform
57+
uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4.0.0
58+
with:
59+
terraform_version: latest
60+
terraform_wrapper: false
61+
- run: make checkdocs
62+
- run: make validatedocs
63+
- uses: rvben/rumdl@9a78b143c00cc273fa0636410b91ec9acde1004a # v0.1.90
64+
with:
65+
path: ./docs
66+
report-type: annotations
67+
68+
check:
69+
name: Check
70+
needs:
71+
- ci
72+
- docs
73+
if: always()
74+
runs-on: ubuntu-latest
75+
defaults:
76+
run:
77+
shell: bash
78+
steps:
79+
- name: Check
80+
run: |
81+
set -euo pipefail
82+
results=( ${{ join(needs.*.result, ' ') }} )
83+
for result in "${results[@]}"; do
84+
if [[ "${result}" == "failure" ]] || [[ "${result}" == "cancelled" ]]; then
85+
echo "::error::Workflow failed!"
86+
exit 1
87+
fi
88+
done

.github/workflows/codeql.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ jobs:
4242
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4343

4444
- name: Set-up Go
45-
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
45+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
4646
if: matrix.language == 'go'
4747
with:
4848
go-version-file: go.mod
4949
cache: true
5050

5151
- name: Initialize CodeQL
52-
uses: github/codeql-action/init@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
52+
uses: github/codeql-action/init@e46ed2cbd01164d986452f91f178727624ae40d7 # v4.35.3
5353
with:
5454
languages: ${{ matrix.language }}
5555
build-mode: ${{ matrix.build-mode }}
@@ -60,6 +60,6 @@ jobs:
6060
run: go build ./...
6161

6262
- name: Perform CodeQL Analysis
63-
uses: github/codeql-action/analyze@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
63+
uses: github/codeql-action/analyze@e46ed2cbd01164d986452f91f178727624ae40d7 # v4.35.3
6464
with:
6565
category: "/language:${{matrix.language}}"

.github/workflows/dotcom-acceptance-tests.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: Acceptance Tests (github.com)
22

33
on:
44
workflow_dispatch:
5+
56
# push:
67
# branches:
78
# - main
89
# - release-v*
10+
911
pull_request:
1012
types:
1113
- opened
@@ -74,13 +76,13 @@ jobs:
7476
echo "token=${GH_TEST_TOKEN}" >> "${GITHUB_OUTPUT}"
7577
7678
- name: Set-up Go
77-
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
79+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
7880
with:
7981
go-version-file: go.mod
8082
cache: true
8183

8284
- name: Setup Terraform
83-
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
85+
uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4.0.0
8486
with:
8587
terraform_version: latest
8688
terraform_wrapper: false
@@ -104,7 +106,7 @@ jobs:
104106
TF_LOG: WARN
105107
GITHUB_TOKEN: ${{ steps.credentials.outputs.token }}
106108
GITHUB_BASE_URL: https://api.github.com/
107-
GITHUB_OWNER: ${{ (matrix.mode == 'individual' && vars.GH_TEST_LOGIN) || (matrix.mode == 'organization' && vars.GH_TEST_ORG_NAME) || '' }}
109+
GITHUB_OWNER: ${{ case(matrix.mode == 'individual', vars.GH_TEST_LOGIN, matrix.mode == 'organization', vars.GH_TEST_ORG_NAME, '') }}
108110
GITHUB_USERNAME: ${{ vars.GH_TEST_LOGIN }}
109111
GITHUB_ENTERPRISE_SLUG: ${{ vars.GH_TEST_ENTERPRISE_SLUG }}
110112
GH_TEST_AUTH_MODE: ${{ matrix.mode }}

.github/workflows/ghes-acceptance-tests.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Acceptance Tests (GHES)
22

33
on:
44
workflow_dispatch:
5+
56
# pull_request_target:
67
# types:
78
# - opened
@@ -86,13 +87,13 @@ jobs:
8687
echo "token=${TEST_USER_TOKEN}" >> "${GITHUB_OUTPUT}"
8788
8889
- name: Set-up Go
89-
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
90+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
9091
with:
9192
go-version-file: go.mod
9293
cache: true
9394

9495
- name: Setup Terraform
95-
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
96+
uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4.0.0
9697
with:
9798
terraform_version: latest
9899
terraform_wrapper: false

.github/workflows/immediate-response.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,4 @@ jobs:
2727
with:
2828
issue-number: ${{ github.event.issue.number || github.event.pull_request.number }}
2929
body: >
30-
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday!
31-
We have a [process in place](https://github.com/octokit/.github/blob/main/community/prioritization_response.md#overview) for prioritizing and responding to your input.
32-
Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with `Status: Up for grabs`.
33-
You & others like you are the reason all of this works! So thank you & happy coding! 🚀
30+
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a [process in place](https://github.com/octokit/.github/blob/main/community/prioritization_response.md#overview) for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with `Status: Up for grabs`. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

.github/workflows/labeler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
shell: bash
1919
steps:
2020
- name: Run Labeler
21-
uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
21+
uses: actions/labeler@f27b608878404679385c85cfa523b85ccb86e213 # v6.1.0
2222
with:
2323
sync-labels: false # Whether or not to remove labels when matching files are reverted or no longer changed by the PR

0 commit comments

Comments
 (0)