Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
e97992e
add quickstart
schavis Aug 20, 2025
059b27f
testing manual trigger
schavis Aug 20, 2025
6ab4124
messing with formatting
schavis Aug 20, 2025
1c6ae97
testing
schavis Aug 27, 2025
d0455c6
testing
schavis Aug 27, 2025
a964796
test
schavis Aug 27, 2025
a8b1501
save
schavis Aug 27, 2025
075ebea
save
schavis Aug 27, 2025
003a87f
save
schavis Aug 27, 2025
a542cb3
change syntax
schavis Aug 27, 2025
43c8991
change variable syntax
schavis Aug 27, 2025
1c6422c
debugging
schavis Aug 27, 2025
a7e1b40
idk
schavis Aug 27, 2025
69f7615
try this
schavis Aug 27, 2025
f08dd53
test
schavis Aug 27, 2025
dcd29c4
i have no idea what I'm doing
schavis Aug 27, 2025
72534f5
;__;
schavis Aug 27, 2025
b0b7413
trying with branch names
schavis Aug 27, 2025
e39ebcc
test
schavis Aug 27, 2025
f4d631e
save
schavis Aug 27, 2025
a4c4a2d
s
schavis Aug 27, 2025
846c7b8
save
schavis Aug 27, 2025
8e53bb4
save
schavis Aug 27, 2025
5a43cf1
move env
schavis Aug 27, 2025
3c9d7ba
idk
schavis Aug 27, 2025
8c28a1e
why you hate me
schavis Aug 27, 2025
1d81242
try again
schavis Aug 27, 2025
f1859d8
crying
schavis Aug 27, 2025
458f459
change title
schavis Aug 27, 2025
466a946
omg
schavis Aug 27, 2025
3559d45
test
schavis Aug 27, 2025
03be169
add quotes to gh commands
schavis Aug 27, 2025
e4df1e2
more testing
schavis Aug 27, 2025
0a8ca3f
idk man
schavis Aug 28, 2025
5e944df
testing labeling
schavis Sep 5, 2025
514bb22
add name
schavis Sep 5, 2025
f08c0e8
save
schavis Sep 5, 2025
3db45f9
save
schavis Sep 5, 2025
c2aa978
save
schavis Sep 5, 2025
1cf83bd
update syntax
schavis Sep 5, 2025
60d2cfe
save
schavis Sep 5, 2025
4d9ac84
save
schavis Sep 5, 2025
a250cf2
save
schavis Sep 5, 2025
b6d609e
save
schavis Sep 5, 2025
6a11911
sace
schavis Sep 5, 2025
61ceb0d
save
schavis Sep 5, 2025
f21815c
save
schavis Sep 5, 2025
fbcc30d
svave
schavis Sep 5, 2025
1a6162f
save
schavis Sep 5, 2025
6f8b68e
save
schavis Sep 5, 2025
0a0a601
s
schavis Sep 5, 2025
27eaaf3
s
schavis Sep 5, 2025
7932ad4
save
schavis Sep 5, 2025
248183a
s
schavis Sep 5, 2025
b7c608d
s
schavis Sep 5, 2025
d313e4c
s
schavis Sep 5, 2025
1e30e1d
s
schavis Sep 5, 2025
b5e9d07
s
schavis Sep 5, 2025
56cc961
s
schavis Sep 5, 2025
e515577
s
schavis Sep 5, 2025
b782ca1
s
schavis Sep 5, 2025
345ae2a
s
schavis Sep 5, 2025
26b6779
s
schavis Sep 6, 2025
ce9b809
s
schavis Sep 9, 2025
5d191be
s
schavis Sep 9, 2025
d113e8d
s
schavis Sep 9, 2025
f6a0de9
s
schavis Sep 9, 2025
99457e9
s
schavis Sep 9, 2025
96b3ae0
s
schavis Sep 9, 2025
c0d9b48
s
schavis Sep 9, 2025
d0fa37b
s
schavis Sep 9, 2025
c4cfea7
idk
schavis Sep 9, 2025
70439db
a
schavis Sep 9, 2025
ece32bf
s
schavis Sep 9, 2025
214fa7d
s
schavis Sep 9, 2025
4e4934b
test
schavis Sep 9, 2025
677d860
s
schavis Sep 10, 2025
5e3fce6
s
schavis Sep 10, 2025
c3b8a5d
s
schavis Sep 10, 2025
81d9cb4
s
schavis Sep 10, 2025
0714342
t
schavis Sep 10, 2025
a989c18
s
schavis Sep 10, 2025
8d519cc
s
schavis Sep 10, 2025
882cac5
s
schavis Sep 10, 2025
48456ef
s
schavis Sep 10, 2025
161d60b
s
schavis Sep 10, 2025
83322fe
s
schavis Sep 10, 2025
bb652a7
s
schavis Sep 10, 2025
e46a609
s
schavis Sep 10, 2025
0c69492
s
schavis Sep 10, 2025
7bc3ae1
s
schavis Sep 10, 2025
742c8c8
e
schavis Sep 10, 2025
f976cef
save
schavis Sep 10, 2025
01658a2
s
schavis Sep 10, 2025
78566d6
s
schavis Sep 10, 2025
6b82045
s
schavis Sep 10, 2025
2294821
s
schavis Sep 10, 2025
ad90450
s
schavis Sep 10, 2025
c39003e
:Merge branch 'main' of github.com:schavis/udr-fork into vault/test
schavis Sep 10, 2025
e186603
s
schavis Sep 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# Add a Terraform label to changes under the related folders:
#
# Folder | Labels
# --------------------------- | ------------------------------------------------
# terraform | Terraform CE
# terraform-cdk | None
# terraform-docs-agents | Terraform agents
# terraform-docs-common | HCP Terraform
# terraform-enterprise | Terraform Enterprise
# terraform-migrate | Terraform migrate
# terraform-plugin-framework | TF Plugin Framework
# terraform-plugin-log | None
# terraform-plugin-mux | None
# terraform-plugin-sdk | None
# terraform-plugin-testing | None

Terraform CE:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/terraform/**'
]

Terraform agents:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/terraform/**'
]

HCP Terraform:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/terraform/**'
]

Terraform Enterprise:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/terraform-enterprise/**'
]

Terraform migrate:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/terraform-docs-common/**'
]

TF Plugin Framework:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/terraform-plugin-framework/**'
]


# Add 'Vault' label to changes under 'content/vault'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# Vault | Default; applies to all doc updates
# Vault IC update | Updates on "Important changes" related docs

Vault:
- any:
- changed-files:
- any-glob-to-any-file: ['content/vault/**']

Vault IC:
- any:
- changed-files:
- any-glob-to-any-file: [
'content/vault/global/partials/important-changes/**',
'content/vault/*/content/docs/updates/change-tracker.mdx',
'content/vault/*/content/docs/updates/important-changes.mdx',
'content/vault/*/content/docs/updates/lts-tracker.mdx'
]

# Add 'WAF' label to changes under 'content/well-architected-framework'
#
# Label | Rule
# --------------- | ------------------------------------------------------------
# WAF | Default; applies to all doc updates

WAF:
- any:
- changed-files:
- any-glob-to-any-file: ['content/well-architected-framework/**']
44 changes: 44 additions & 0 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Create publication PR
run-name: 🥌 Create publication PR

permissions:
pull-requests: write

on:
workflow_dispatch:
inputs:
branchName:
required: true
description: >-
Release branch name

env:
mergeTarget: "main"
prTitle: "[PUBLISH] ${{ github.event.inputs.branchName }}"
prBody: "Publication PR created by Github action"

jobs:
create-pr:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Debugging data
run: |
echo "🚧 ${{ github.repository }} - Creating PR"
echo " - Release branch: ${{ github.event.inputs.branchName }}"
echo " - Merge target: ${{ github.base_ref }}"
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create pull request
run: |
gh pr create \
--base ${{ env.mergeTarget }} \
--head ${{ github.event.inputs.branchName }} \
--title "${{ env.prTitle }}" \
--body "${{ env.prBody }}"
- name: Wrap-up
run: |
echo "🍏 Final job status: ${{ job.status }}"
23 changes: 23 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Apply a product label based on the content files modified in the pull request
# and configuration details in .github/labeler.yml.
#
# For more information, see: https://github.com/actions/labeler

name: 🏷️ Label content PRs

on:
pull_request:
types: [opened, synchronize, reopened] # Trigger on these events

jobs:

label-the-pr:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
40 changes: 40 additions & 0 deletions .github/workflows/release-branch-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: TESTING - Sync content release branches

run-name: 🚀 ${{ github.actor }} is syncing ${{ github.event.inputs.product }} release branches

on:
workflow_dispatch:
inputs:
product:
required: true
default: 'vault'
description: >-
Product slug (e.g., vault, hcp)

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
outputs:
mylist: ${{ steps.generate-matrix.outputs.mylist }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate dynamic matrix
id: generate-matrix
run: |
echo "mylist=[$(git branch --list '${{ github.event.inputs.product }}/*')]" >> $GITHUB_OUTPUT
usematrix:
runs-on: ubuntu-latest
needs: [build]
strategy:
matrix:
branch-name: ${{ fromJson(needs.build.outputs.mylist) }}
steps:
- name: Dynamic matrix job
run: |
echo "Running job with input ${{ matrix.branch-name }}"
142 changes: 142 additions & 0 deletions .github/workflows/vault-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Process Vault PRs:
#
# 1. Add a comment that explains when the changes will publish.
# 2. If the PR updates important changes, add a comment about updating the
# summary tables.


name: Process Vault PR
run-name: 🟡 Process Vault PR

on:
pull_request_target:
types: [opened, synchronize, reopened] # Trigger on these events
paths:
- content/vault/**

env:
yes: ✔️
no: ❌
idk: ⏹️
monthlyPattern: 'vault/([0-9]{6})'
releasePattern: 'vault/1\.([0-9]{2})\.x'

jobs:

# Figure out the publication timeline based on the target branch
set-pub-timeline:
name: Set publication timeline
runs-on: ubuntu-latest
outputs:
mainSelect: ${{ steps.check-target.outputs.mainSelect }}
monthSelect: ${{ steps.check-target.outputs.monthSelect }}
releaseSelect: ${{ steps.check-target.outputs.releaseSelect }}
steps:
- name: Check target
id: check-target
run: |
if [[ "${{ github.base_ref }}" == "main" ]]; then
echo "mainSelect=${{ env.yes }}" >> "$GITHUB_OUTPUT"
echo "monthSelect=${{ env.no }}" >> "$GITHUB_OUTPUT"
echo "releaseSelect=${{ env.no }}" >> "$GITHUB_OUTPUT"
elif [[ "${{ github.base_ref }}" =~ ${{ env.monthlyPattern }} ]]; then
echo "mainSelect=${{ env.no }}" >> "$GITHUB_OUTPUT"
echo "monthSelect=${{ env.yes }}" >> "$GITHUB_OUTPUT"
echo "releaseSelect=${{ env.no }}" >> "$GITHUB_OUTPUT"
elif [[ "${{ github.base_ref }}" =~ ${{ env.releasePattern }} ]]; then
echo "mainSelect=${{ env.no }}" >> "$GITHUB_OUTPUT"
echo "monthSelect=${{ env.no }}" >> "$GITHUB_OUTPUT"
echo "releaseSelect=${{ env.yes }}" >> "$GITHUB_OUTPUT"
else
echo "mainSelect=${{ env.idk }}" >> "$GITHUB_OUTPUT"
echo "monthSelect=${{ env.idk }}" >> "$GITHUB_OUTPUT"
echo "releaseSelect=${{ env.idk }}" >> "$GITHUB_OUTPUT"
fi

# Add a PR comment with the publication timeline
alert-pub-timeline:
name: Add publication comment
runs-on: ubuntu-latest
needs: set-pub-timeline
steps:
- name: Add publication notice
uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2.9.1
with:
header: Publication notice
message: |
## 🕛 Publication timeline

Your content changes publish based on the merge target [`${{ github.base_ref }}`].
If the timeline indicated below is inappropriate, please adjust the
merge target (base branch).

Branch | Publication timeline | Selection
----------------- | --------------------- | ---------
`main` | Immediately | ${{ needs.set-pub-timeline.outputs.mainSelect }}
`vault/YYYYMM` | End of the month | ${{ needs.set-pub-timeline.outputs.monthSelect }}
`vault/<version>` | Next major release | ${{ needs.set-pub-timeline.outputs.releaseSelect }}

# Check if the PR includes important changes updates
check-important-changes:
name: Check for 'Important changes' updates
runs-on: ubuntu-latest
outputs:
icComment: ${{ steps.check-ic.outputs.icComment }}
steps:
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
icUpdate:
- 'content/vault/*/content/docs/updates/important-changes.mdx'
icPartial:
- 'content/vault/global/partials/important-changes/breaking-changes/**'
- 'content/vault/global/partials/important-changes/new-behavior/**'
- 'content/vault/global/partials/important-changes/known-issue/**'
- 'content/vault/*/content/partials/know-issues/**'
summaries:
- 'content/vault/global/partials/important-changes/summary-tables/**'
- name: Check for IC update
id: check-ic
run: |
if [[
"${{ steps.filter.outputs.icUpdate }}" == "true" &&
"${{ steps.filter.outputs.summaries }}" == "false"
]]; then
echo "icComment=add" >> "$GITHUB_OUTPUT"
else
echo "icComment=hide" >> "$GITHUB_OUTPUT"
fi

# Add a PR comment about missing summary table updates
alert-important-changes-add:
name: Add IC change alert
runs-on: ubuntu-latest
needs: check-important-changes
if: needs.check-important-changes.outputs.icComment == 'add'
steps:
- name: Add comment
uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2.9.1
with:
header: Important change alert
hide: true
hide_classify: "OUTDATED"
message: |
> [!IMPORTANT]
>
> PRs that update the "Important changes" page **must** update to relevant summary tables under:
> `content/vault/global/partials/important-changes/summary-tables/`

# Hide the previous comment (if it exists)
alert-important-changes-remove:
name: Hide IC change alert
runs-on: ubuntu-latest
needs: check-important-changes
if: needs.check-important-changes.outputs.icComment == 'hide'
steps:
- name: Hide comment
uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2.9.1
with:
header: Important change alert
hide: true
hide_classify: "RESOLVED"
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ description: >-

# How Vault works

This is a change from vault/test

Vault is an identity-based secrets and encryption management system
that centralizes secret management, rotates old credentials, generates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ valid_change_types: >-
Always review important or breaking changes and remediation recommendations
before upgrading Vault.

I updated this file
---

## Breaking changes
Expand Down
Loading