Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ body:
validations:
required: true


- type: textarea
id: terraform-version
attributes:
Expand All @@ -45,8 +44,8 @@ body:
description: |
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.
placeholder: |
- github_repository
- github_branch_protection
- github_repository
- github_branch_protection
validations:
required: true

Expand Down
76 changes: 38 additions & 38 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
# Configuration for labeler - https://github.com/actions/labeler
"Type: Breaking change":
- head-branch:
- '^breaking/'
- '^breaking-'
- "^breaking/"
- "^breaking-"

"Type: Feature":
- head-branch:
- '^feat/'
- '^feat-'
- '^feature/'
- '^feature-'
- "^feat/"
- "^feat-"
- "^feature/"
- "^feature-"

"Type: Bug":
- head-branch:
- '^fix/'
- '^fix-'
- '^bugfix/'
- '^bugfix-'
- '^bug/'
- '^bug-'
- "^fix/"
- "^fix-"
- "^bugfix/"
- "^bugfix-"
- "^bug/"
- "^bug-"

"Deprecation":
- head-branch:
- '^deprecate/'
- '^deprecate-'
- '^deprecation/'
- '^deprecation-'
- "^deprecate/"
- "^deprecate-"
- "^deprecation/"
- "^deprecation-"

"Type: Maintenance":
- head-branch:
- '^chore/'
- '^chore-'
- '^maintenance/'
- '^maintenance-'
- '^maint/'
- '^maint-'
- '^deps/'
- '^deps-'
- '^dependencies/'
- '^dependencies-'
# - changed-files:
# - any-glob-to-any-file:
# - .github/workflows/**
# - .github/labeler.yml
# - .github/dependabot.yml
# - .github/release.yml
- "^chore/"
- "^chore-"
- "^maintenance/"
- "^maintenance-"
- "^maint/"
- "^maint-"
- "^deps/"
- "^deps-"
- "^dependencies/"
- "^dependencies-"
# - changed-files:
# - any-glob-to-any-file:
# - .github/workflows/**
# - .github/labeler.yml
# - .github/dependabot.yml
# - .github/release.yml

"Type: Documentation":
- head-branch:
- '^docs/'
- '^docs-'
- '^doc/'
- '^doc-'
# - changed-files:
# - any-glob-to-any-file: 'website/**'
- "^docs/"
- "^docs-"
- "^doc/"
- "^doc-"
# - changed-files:
# - any-glob-to-any-file: 'website/**'
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Resolves #ISSUE_NUMBER
### Before the change?
<!-- Please describe the current behavior that you are modifying. -->

-
-

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

-
-

### Pull request checklist

Expand Down
52 changes: 51 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,60 @@ jobs:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set-up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- run: make tools
- run: make build
- run: make test

docs:
name: Documentation
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set-up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- name: Set-up Terraform
uses: hashicorp/setup-terraform@5e8dbf3c6d9deaf4193ca7a8fb23f2ac83bb6c85 # v4.0.0
with:
terraform_version: latest
terraform_wrapper: false
- run: make checkdocs
- run: make validatedocs
- uses: rvben/rumdl@f3ca9f4962234c3d2b73ac2ce15c0b6ca654d510 # v0.1.84
with:
path: ./docs
report-type: annotations

check:
name: Check
needs:
- ci
- docs
if: always()
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Check
run: |
set -euo pipefail
results=( ${{ join(needs.*.result, ' ') }} )
for result in "${results[@]}"; do
if [[ "${result}" == "failure" ]] || [[ "${result}" == "cancelled" ]]; then
echo "::error::Workflow failed!"
exit 1
fi
done
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set-up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
if: matrix.language == 'go'
with:
go-version-file: go.mod
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/dotcom-acceptance-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ name: Acceptance Tests (github.com)

on:
workflow_dispatch:

# push:
# branches:
# - main
# - release-v*

pull_request:
types:
- opened
Expand Down Expand Up @@ -74,7 +76,7 @@ jobs:
echo "token=${GH_TEST_TOKEN}" >> "${GITHUB_OUTPUT}"

- name: Set-up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand Down Expand Up @@ -104,7 +106,7 @@ jobs:
TF_LOG: WARN
GITHUB_TOKEN: ${{ steps.credentials.outputs.token }}
GITHUB_BASE_URL: https://api.github.com/
GITHUB_OWNER: ${{ (matrix.mode == 'individual' && vars.GH_TEST_LOGIN) || (matrix.mode == 'organization' && vars.GH_TEST_ORG_NAME) || '' }}
GITHUB_OWNER: ${{ case(matrix.mode == 'individual', vars.GH_TEST_LOGIN, matrix.mode == 'organization', vars.GH_TEST_ORG_NAME, '') }}
GITHUB_USERNAME: ${{ vars.GH_TEST_LOGIN }}
GITHUB_ENTERPRISE_SLUG: ${{ vars.GH_TEST_ENTERPRISE_SLUG }}
GH_TEST_AUTH_MODE: ${{ matrix.mode }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ghes-acceptance-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Acceptance Tests (GHES)

on:
workflow_dispatch:

# pull_request_target:
# types:
# - opened
Expand Down Expand Up @@ -86,7 +87,7 @@ jobs:
echo "token=${TEST_USER_TOKEN}" >> "${GITHUB_OUTPUT}"

- name: Set-up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/immediate-response.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,4 @@ jobs:
with:
issue-number: ${{ github.event.issue.number || github.event.pull_request.number }}
body: >
👋 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! 🚀
👋 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! 🚀
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
fetch-depth: 0

- name: Set-up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,9 @@ jobs:
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
with:
stale-issue-message: >
👋 Hey Friends, this issue has been automatically marked as `stale` because it has no recent activity.
It will be closed if no further activity occurs.
Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active.
Thank you for your contributions and help in keeping things tidy!
👋 Hey Friends, this issue has been automatically marked as `stale` because it has no recent activity. It will be closed if no further activity occurs. Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
stale-pr-message: >
👋 Hey Friends, this pull request has been automatically marked as `stale` because it has no recent activity.
It will be closed if no further activity occurs.
Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active.
Thank you for your contributions and help in keeping things tidy!
👋 Hey Friends, this pull request has been automatically marked as `stale` because it has no recent activity. It will be closed if no further activity occurs. Please add the `Status: Pinned` label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
days-before-stale: 270
days-before-close: 7
exempt-issue-labels: "Status: Pinned"
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ builds:
binary: "{{ .ProjectName }}_v{{ .Version }}"

archives:
- formats: ['zip']
- formats: ["zip"]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"

sboms:
Expand Down
4 changes: 0 additions & 4 deletions .markdownlint.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions .rumdl.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[global]
disable = ["MD013", "MD028"]

[per-file-ignores]
".github/pull_request_template.md" = ["MD041"]
Comment thread
stevehipwell marked this conversation as resolved.
"docs/**/*.md" = ["MD059"]

[MD004]
style = "dash"

[MD024]
siblings-only = true

[MD033]
allowed-elements = ["a", "br", "details", "img", "summary", "sub", "sup"]

[MD052]
shortcut-syntax = true
8 changes: 8 additions & 0 deletions .yamlfmt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
line_ending: lf
formatter:
type: basic
line_ending: lf
retain_line_breaks_single: true
eof_newline: true
force_quote_style: double
max_line_length: 0
Loading
Loading