Skip to content

Commit ad2d53c

Browse files
Merge branch 'main' into WAF-385/iam
2 parents 691ebe4 + 9f93acf commit ad2d53c

File tree

2,637 files changed

+283138
-6239
lines changed

Some content is hidden

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

2,637 files changed

+283138
-6239
lines changed

.github/labeler.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) HashiCorp, Inc.
2+
# SPDX-License-Identifier: BUSL-1.1
3+
14
# Add a Terraform label to changes under the related folders:
25
#
36
# Folder | Labels
@@ -92,4 +95,17 @@ WAF:
9295
- changed-files:
9396
- any-glob-to-any-file: [
9497
'content/well-architected-framework/**'
98+
]
99+
100+
# Add 'Sentinel' label to changes under 'content/sentinel'
101+
#
102+
# Label | Rule
103+
# --------------- | ------------------------------------------------------------
104+
# Sentinel | Default; applies to all doc updates
105+
106+
Sentinel:
107+
- any:
108+
- changed-files:
109+
- any-glob-to-any-file: [
110+
'content/sentinel/**'
95111
]
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: 🥌 Create publication PR
2+
run-name: Create publication PR [${{ github.actor }}]
3+
4+
permissions:
5+
pull-requests: write
6+
7+
on:
8+
workflow_dispatch:
9+
inputs:
10+
releaseBranch:
11+
required: true
12+
description: Release branch name
13+
mergeTarget:
14+
required: true
15+
default: 'main'
16+
description: Merge target for PR
17+
18+
jobs:
19+
create-pr:
20+
runs-on: ubuntu-latest
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
prTitle: "[PUBLISH] ${{ github.event.inputs.releaseBranch }}"
24+
prBody: |
25+
🚧 \`${{ github.repository }}\` publication PR
26+
27+
**Triggered by**: @${{ github.actor }} with a Github action
28+
**Release branch**: \`${{ github.event.inputs.releaseBranch }}\`
29+
**Merge target**: \`${{ github.event.inputs.mergeTarget }}\`
30+
31+
steps:
32+
- name: Check out repository code
33+
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
34+
with:
35+
fetch-depth: 0
36+
- name: Create pull request
37+
run: |
38+
gh pr create \
39+
--base ${{ github.event.inputs.mergeTarget }} \
40+
--head ${{ github.event.inputs.releaseBranch }} \
41+
--title "${{ env.prTitle }}" \
42+
--body "${{ env.prBody }}"
43+
- name: Wrap-up
44+
run: |
45+
echo "🍏 Final job status: ${{ job.status }}"

.github/workflows/label-content-prs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
contents: read
1616
pull-requests: write
1717
steps:
18-
- uses: actions/labeler@v5
18+
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9
1919
with:
2020
repo-token: "${{ secrets.GITHUB_TOKEN }}"
21-
sync-labels: true
21+
sync-labels: true

CODEOWNERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@
3131

3232
/content/vault/ @hashicorp/vault-education-approvers
3333

34+
# Sentinel documentation ownership
35+
/content/sentinel/ @hashicorp/team-docs-packer-and-terraform @hashicorp/tf-compliance
36+
37+
# Well-architected framework
38+
39+
/content/well-architected-framework/ @hashicorp/well-architected-education-approvers

0 commit comments

Comments
 (0)