Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Initial setup for repo #1

Merged
merged 173 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
09f621f
Initial setup
Oct 2, 2023
5a369b5
Add workflow for init package and add EKS package
Oct 3, 2023
1d25613
Add script to create IAM roles for IRSA auth in workflow
Oct 4, 2023
765fc15
Remove command to remove tmpdir
Oct 4, 2023
2702855
Add PR as workflow trigger
Oct 4, 2023
4cba597
Install same version of Go that Zarf users
Oct 4, 2023
24e14dc
Fix sed command and update github actions output syntax
Oct 4, 2023
2f6be8e
Update ecr bootstrap script
Oct 4, 2023
65976db
Switch to using bash for ecr bootstrap script to use an array
Oct 4, 2023
06bb85e
Update readme header
Oct 4, 2023
463b73b
Use gsed for mac in iam bootstrap script for local testing
Oct 4, 2023
7b0f9f8
Fetch pepr pod logs onFailure
Oct 4, 2023
9ca9e8b
Dynamically set AWS account ID in iam script
Oct 4, 2023
12469f6
Specify pepr-system namespace in kubectl logs
Oct 4, 2023
0144513
Update the way github outputs are set
Oct 4, 2023
ec5a934
Fix github outputs
Oct 4, 2023
8859c28
Update run syntax in workflow
Oct 4, 2023
91acdac
Remove onFailure action from package
Oct 4, 2023
175bb26
Rename bootstrap directory to hack to align with k8s convention
Oct 4, 2023
88231de
Run tests for private and public ECR registry in parallel
Oct 4, 2023
b861c69
Fix zarf command in teardown step
Oct 4, 2023
e5cff03
Create build dir before moving zarf binary to it
Oct 4, 2023
cfdbe18
Use sudo to add exec permissions to zarf binary
Oct 4, 2023
c4ceffa
Fix cluster name input
Oct 4, 2023
4e52dfc
Download latest zarf rc version instead of build from source
Oct 4, 2023
b1221e5
Move zarf binary to build dir
Oct 4, 2023
04f7208
Specify multiple availability zones for EKS cluster
Oct 4, 2023
ec5589d
Add single quotes
Oct 4, 2023
6a984e8
Change AZ in EKS config
Oct 4, 2023
a16d88c
Remove availability zones
Oct 5, 2023
f8a15b9
Use setup-zarf action to install zarf binary
Oct 5, 2023
ec74f4b
Import zarf-agent via init skeleton package
Oct 5, 2023
52a5557
Remove local zarf-agent package
Oct 5, 2023
3678edd
Run zarf init from build directory
Oct 5, 2023
1bfa43b
Specify availability zones in eks config file to avoid capacity error
Oct 5, 2023
f6f2f27
Add comment for context about specifying AZs in eks config
Oct 5, 2023
74f2eb8
Add zarf as prereq to README.md
Oct 5, 2023
0b921e2
Update Pepr to v0.14.0
Oct 6, 2023
656638c
Remove unused make targets for zarf agent
Oct 6, 2023
c3b3991
Rebuild Pepr module for changes to take effect
Oct 6, 2023
f909f5a
Use zarf vars directly in ECR bootstrap script
Oct 6, 2023
95364c0
Empty commit to trigger workflows
Oct 6, 2023
145926d
Update docs and Makefile and format module
Oct 6, 2023
907e58b
Update Watch() back to Mutate()
Oct 6, 2023
0eb03b5
Remove npm ci from build and test make targets
Oct 8, 2023
fe59a0f
Add a workaround for updating webhook status in package secret
Oct 8, 2023
10c9973
Replace IAM role shell script with pulumi typescript program
Oct 12, 2023
0eadc42
Install NodeJS and deps in workflow
Oct 12, 2023
02042c7
Add CODEOWNERS file
Oct 12, 2023
9ffe2e6
Add issue templates
Oct 12, 2023
acc9e24
Add pull request template
Oct 12, 2023
0b68424
Refactor cluster teardown in EKS package
Oct 12, 2023
db1f3da
Update EKS package version in deploy command
Oct 12, 2023
06b78f3
Move onRemove action for EKS cluster into single package component
Oct 12, 2023
cabee9d
Fix filepath to IAM JSON files in pulumi module
Oct 13, 2023
1646e74
Update Pepr to 0.14.1
Oct 13, 2023
8c46b0c
Specify package-lock.json in root of repo as cache path
Oct 13, 2023
53600dc
Include ts files only in capabilities dir in tsconfig to fix error in CI
Oct 13, 2023
0918ef1
Add git-server as optional component to init package
Oct 13, 2023
d1bc1df
Add workflow to run unit tests for Pepr module
Oct 13, 2023
2f8109d
Add renovate.json config file
Oct 13, 2023
669929c
Bump eksctl version to v0.162.0
Oct 13, 2023
5a6b964
Add ADR for using Pulumi TypeScript SDK
Oct 13, 2023
0b65e81
Add OpenSSF Scorecard workflow
Oct 13, 2023
0f2022c
Downgrade eksctl to v0.160.0 due to goroutine race condition bug
Oct 13, 2023
92aa96b
Add option to locally build credential helper image
Oct 13, 2023
22a8ba8
Install Go in build job to build credential helper binary
Oct 13, 2023
d12912c
Rename openssf scorecard workflow to scorecard.yml
Oct 14, 2023
94b96e5
Fix numbered list in ADR
Oct 14, 2023
a83b362
Move zarf init options/vars to zarf-config.toml
Oct 14, 2023
d015d60
Uncomment log_level in zarf-config.toml
Oct 14, 2023
8a4fbf2
Run zarf init command for public ECR test from root of repo
Oct 14, 2023
12746b4
Update README.md
Oct 14, 2023
ef816a9
Remove docker build command comment from Dockerfile
Oct 14, 2023
b10094a
Remove components from zarf config file to fix cluster teardown
Oct 14, 2023
7096ec9
Update dependencies and add workflow to scan CVEs
Oct 16, 2023
d1f8ece
Install Zarf binary in scan-cves workflow to generate SBOM
Oct 16, 2023
ac8a6a1
Add revive lint workflow for Go CronJob
Oct 16, 2023
d875c1e
Add comment to .gype.yaml about false positive for x/net pkg
Oct 16, 2023
5d9ae59
Fix linting errors
Oct 16, 2023
3a77d89
Add scan-labels workflow
Oct 16, 2023
ab3c026
Add codeql workflow and config file
Oct 16, 2023
a59b002
Add step to build Go binary in scan-codeql workflow
Oct 16, 2023
4efa768
Update @babel/core package to 7.23.2 to patch critical CVE-2023-45133
Oct 17, 2023
498ced7
Rebuilt pepr module after updating deps
Oct 17, 2023
a8a0aa9
Moves credential-helper src code to root of repo
Oct 18, 2023
48ea41b
Add release workflow
Oct 18, 2023
eaf5c0a
Update development.md doc
Oct 18, 2023
fd0904a
Expose Cron schedule as deploy-time variable
Oct 18, 2023
a899d94
Remove version field from zarf.yaml
Oct 18, 2023
627000a
Remove slack notification steps from aws init package workflow
Oct 18, 2023
e8fd504
Fix publish package make target in release workflow
Oct 18, 2023
f08d161
Update permissions needed for AWS CLI in README prereqs
Oct 18, 2023
b7e208d
Remove step to deploy workfloads into the cluster from README
Oct 18, 2023
43c1135
Remove setup go step from scan-cves workflow
Oct 18, 2023
852865d
Add setup-go and build binary steps to release workflow
Oct 18, 2023
56e87db
Update .github/ISSUE_TEMPLATE/bug_report.md
lucasrod16 Oct 24, 2023
4041f17
Update .github/ISSUE_TEMPLATE/feature_request.md
lucasrod16 Oct 24, 2023
8981756
Update .github/ISSUE_TEMPLATE/tech_debt.md
lucasrod16 Oct 24, 2023
1ac4cbc
Update .github/ISSUE_TEMPLATE/ux_test.md
lucasrod16 Oct 24, 2023
c385ed5
Update .github/workflows/scan-lint.yml
lucasrod16 Oct 24, 2023
ea8858c
Update README.md
lucasrod16 Oct 24, 2023
b49f6ae
Add typescript to codql workflow language matrix
Oct 24, 2023
029bdf3
Merge branch 'setup-repo' of https://github.com/defenseunicorns/zarf-…
Oct 24, 2023
a102fae
Update Node.js to version 20 in workflows
Oct 24, 2023
836e00f
Update pulumi and pulumi/aws packages
Oct 24, 2023
1ac39b6
Include all package.json and package-lock.json paths in scan-cves wor…
Oct 24, 2023
1482ab5
Remove needs-tutorial label from banned labels in scan-labels workflow
Oct 24, 2023
de6163e
Add cons to pulumi typescript SDK in ADR
Oct 24, 2023
d7599ad
Move zarf init command and delete repos commands to make targets
Oct 24, 2023
0f0aa31
Fix make targets for deleting ECR repos
Oct 24, 2023
648a8e5
Remove array assignment from make target
Oct 24, 2023
2cc80c6
Add make target for linting typescript code in the repo
Oct 25, 2023
dccecc3
Update development.md doc
Oct 25, 2023
5f21e5f
Rename var in ECRPublic class to be less redundant
Oct 25, 2023
e1914c1
Add return statement to end execution in isECRregistry()
Oct 25, 2023
c134e50
Throw an error if input images array is null in getRepositoryNames()
Oct 25, 2023
8933517
Call readFileSync() method directly in IaC
Oct 25, 2023
1ff0438
Use context.WithTimeout() to prevent binary from waiting forever
Oct 25, 2023
1ffc1c9
Exclude binaries directory from CVE scan
Oct 25, 2023
560cf83
Remove images field from DeployedComponent interface
Oct 26, 2023
08f649e
Add build/ dir to ignorePatterns in .eslintrc.json
Oct 26, 2023
363eee0
Add comments to typescript code and update package.json description
Oct 26, 2023
f4fbc35
Split logic into functions and separate into modules
Oct 26, 2023
115c767
Update Pepr to v0.14.2
Oct 26, 2023
aa7424b
Update node dependencies
Oct 26, 2023
bc82154
Update pepr manifest
Oct 26, 2023
7939a87
Update node deps for pulumi IaC
Oct 26, 2023
7b53d58
Add link to docs and regex101 for public ECR URL pattern
Oct 26, 2023
862ff3a
Add link to docs and regex101 for private ECR pattern
Oct 26, 2023
ad1e18a
Format and rebuild module
Oct 26, 2023
11803c8
Change zarf-config.toml to zarf-config.yaml
Oct 26, 2023
6ca9cb7
Update README.md to use yaml config file
Oct 26, 2023
69209bd
Update README.md
Oct 26, 2023
d534e52
Update eksctl version and ebs driver version in EKS package
Oct 27, 2023
07abe3b
Update zarf config file
Oct 27, 2023
6f2fadb
Update eks package and makefile
Oct 27, 2023
9b3b394
Update update-zarf-config.mjs script
Oct 27, 2023
77910fd
Add a package.json file to manage yaml dep in .mjs script
Oct 27, 2023
53df39a
Add make target to install node deps in every package.json in the repo
Oct 27, 2023
3e567bf
Stop tracking zarf-config.yaml in git history
Oct 27, 2023
6c433d8
Update update-zarf-config script to make a new copy of the update file
Oct 27, 2023
ec05816
Add a system/workflow to keep ts interfaces in sync with Zarf structs
Oct 27, 2023
dee91e9
Add root go.mod to workspace and rename nested go.mod
Oct 27, 2023
ca91b88
Update pepr manifest
Oct 27, 2023
9917ebf
Add make target to ensure build dir exists for cve report
Oct 27, 2023
99a2ca0
Update indirect deps to resolve CVEs
Oct 27, 2023
68955bd
Update pulumi deps
Oct 27, 2023
f11f584
Add Go grpc CVE to grype ignore file
Oct 27, 2023
07f5c52
Simplify gen-schema script
Oct 28, 2023
11fa26e
Fix lint errors in gen-schema script
Oct 28, 2023
18ae877
Fix go run command in gen-schema.sh
Oct 28, 2023
b6f1f8e
Change let to const in update-zarf-config script
Oct 28, 2023
d3b9615
Use handlebars to update IAM role placeholders instead of regex
Oct 30, 2023
aaa7e05
Run make format-ts
Oct 30, 2023
1dce560
Add comments to explain update-zarf-config script
Oct 30, 2023
9625502
Update image ref parsing
Nov 1, 2023
2caa940
Update Zarf version to v0.31.0
Nov 1, 2023
24ed304
Update Pepr to v0.15.0
Nov 1, 2023
19b6037
Run make gen-schema and rebuild module
Nov 1, 2023
380f84b
Fix Zarf config file in README.md
Nov 1, 2023
30cab88
Use us-west-2 region for EKS clusters
Nov 1, 2023
36ed3d4
Update AWS region in IAM roles to us-west-2 for EKS OIDC
Nov 1, 2023
b49c945
Specify AWS region in eksctl write-kubeconfig cmd in EKS pkg
Nov 1, 2023
2efe50d
Specify us-west-2 region in Pulumi.yaml project config
Nov 1, 2023
112e4eb
Add metadata.version to zarf.yaml
Nov 1, 2023
61a3036
Update README.md to not hard code the version in the init pkg name
Nov 1, 2023
47e2670
Remove metadata.version from zarf.yaml
Nov 1, 2023
9a45970
Add ZARF_CONFIG env var to release-aws-init-package make target
Nov 1, 2023
981ab29
Add zarf-sbom dir to .gitignore
Nov 1, 2023
7e8126f
Update .github/ISSUE_TEMPLATE/tech_debt.md
lucasrod16 Nov 8, 2023
cadd2ff
Remove extra char in .grype.yaml
Nov 8, 2023
6508a0e
Add contributing guide that points to the Zarf contributing guide
Nov 9, 2023
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
25 changes: 25 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"env": {
"browser": false,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2022
},
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"node_modules",
"dist",
"hack",
"build",
"capabilities/zarf-types.ts"
],
"root": true
}
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: possible-bug
assignees: ''
---

### Environment

Device and OS:
App version:
Kubernetes distro being used:
Other:

### Steps to reproduce

1.

### Expected result

### Actual Result

### Visual Proof (screenshots, videos, text, etc)

### Severity/Priority

### Additional Context

Add any other context or screenshots about the technical debt here.
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: 'enhancement'
assignees: ''
---

### Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

### Describe the solution you'd like

- **Given** a state
- **When** an action is taken
- **Then** something happens

### Describe alternatives you've considered

(optional) A clear and concise description of any alternative solutions or features you've considered.

### Additional context

Add any other context or screenshots about the feature request here.
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/tech_debt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Tech debt
about: Record something that should be investigated or refactored in the future.
title: ''
labels: 'tech-debt'
assignees: ''
---

### Describe what should be investigated or refactored

A clear and concise description of what should be changed/researched. Ex. This piece of the code is not DRY enough [...]

### Links to any relevant code

(optional) i.e. - <https://github.com/defenseunicorns/zarf-init-aws/blob/main/README.md?plain=1#L1>

### Additional context

Add any other context or screenshots about the technical debt here.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/ux_test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: UX Test
about: Record something that should be investigated to test User Experience
title: ''
labels: 'ux'
assignees: ''
---

## Driving Questions

What are we hoping to validate?

## Testing Plan

User Persona:
Sample Group:

- [ ] Use Checklist for Tasks

## Additional context

Add any other context or screenshots about the UX test here.

Related to issue: #

## Link to Test & Results
6 changes: 6 additions & 0 deletions .github/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
paths-ignore:
- build/**

query-filters:
- exclude:
id: go/path-injection
20 changes: 20 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Description

...

## Related Issue

Fixes #
<!-- or -->
Relates to #

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide Steps](https://github.com/defenseunicorns/zarf-init-aws/blob/main/CONTRIBUTING.md) followed
75 changes: 75 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Publish Zarf Init Package for AWS on Tag

permissions:
contents: read

on:
push:
tags:
- "v*"

jobs:
release:
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
steps:
# Checkout the repo and setup the tooling for this job
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
fetch-depth: 0

- name: Install latest version of Zarf
uses: defenseunicorns/setup-zarf@main

- name: Install tools
uses: defenseunicorns/zarf/.github/actions/install-tools@main

- name: Setup Go
uses: defenseunicorns/zarf/.github/actions/golang@main

- name: Build ECR credential-helper binary
run: make build-credential-helper-linux-amd

- name: "ECR Credential Helper: Login to GHCR"
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ghcr.io
username: dummy
password: ${{ github.token }}

- name: "ECR Credential Helper: Build and Publish the Image"
run: docker buildx build --push --platform linux/amd64 --tag ghcr.io/defenseunicorns/zarf-init-aws/ecr-credential-helper:$GITHUB_REF_NAME .

# TODO@jeff-mccoy: Setup cosign signing key secrets in repo
# - name: "ECR Credential Helper: Sign the Image"
# run: cosign sign --key awskms:///${{ secrets.COSIGN_AWS_KMS_KEY }} -a release-engineer=https://github.com/${{ github.actor }} -a version=$GITHUB_REF_NAME ghcr.io/defenseunicorns/zarf-init-aws/ecr-credential-helper:$GITHUB_REF_NAME
# env:
# COSIGN_EXPERIMENTAL: 1
# AWS_REGION: ${{ secrets.COSIGN_AWS_REGION }}
# AWS_ACCESS_KEY_ID: ${{ secrets.COSIGN_AWS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.COSIGN_AWS_ACCESS_KEY }}

- name: Build AWS init package for release
run: make release-aws-init-package CREDENTIAL_HELPER_IMAGE_TAG=$GITHUB_REF_NAME

- name: Publish AWS Init Package as OCI and Skeleton
run: make publish-aws-init-package ARCH=amd64 REPOSITORY_URL=ghcr.io/defenseunicorns/packages

# Create a CVE report based on this build
- name: Create release time CVE report
run: make cve-report

- name: Save CVE report
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: cve-report
path: build/zarf-known-cves.csv

# Create GitHub release and upload the AWS init package as a release artifact
- name: Create GitHub release and upload AWS init package as release artifact
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
run: gh release create "$GITHUB_REF_NAME" ./build/zarf-init-*.tar.zst --generate-notes --verify-tag
66 changes: 66 additions & 0 deletions .github/workflows/scan-codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Analyze CodeQL

permissions:
contents: read

on:
push:
branches: ["main"]
pull_request:
paths-ignore:
- "**.md"
- "**.jpg"
- "**.png"
- "**.gif"
- "**.svg"
- "adr/**"
- "docs/**"
- "CODEOWNERS"
schedule:
- cron: "32 2 * * 5"

jobs:
validate:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: ["go", "javascript", "typescript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

- name: Setup Go
uses: defenseunicorns/zarf/.github/actions/golang@main

- name: Setup NodeJS
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: 20
cache: "npm"
cache-dependency-path: "package-lock.json"

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@04daf014b50eaf774287bf3f0f1869d4b4c4b913 # v2.21.7
env:
CODEQL_EXTRACTOR_GO_BUILD_TRACING: on
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql.yaml

- name: Build
run: make build-credential-helper-linux-amd

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@04daf014b50eaf774287bf3f0f1869d4b4c4b913 # v2.21.7
with:
category: "/language:${{matrix.language}}"
30 changes: 30 additions & 0 deletions .github/workflows/scan-cves.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Analyze CVEs

permissions:
contents: read

on:
schedule:
- cron: "0 10 * * *"
pull_request:
paths:
- "**/package.json"
- "**/package-lock.json"
- "go.mod"
- "go.sum"

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

- name: Install tools
uses: defenseunicorns/zarf/.github/actions/install-tools@main

- name: Install latest version of Zarf
uses: defenseunicorns/setup-zarf@main

- name: Check for CVEs in Dependencies
run: make test-cves
23 changes: 23 additions & 0 deletions .github/workflows/scan-gen-schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Validate Schema Generation
on:
pull_request:

permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

- name: Setup Go
uses: defenseunicorns/zarf/.github/actions/golang@main

- name: Check that 'make gen-schema' was ran
run: make test-gen-schema

- name: Save logs
if: always()
uses: defenseunicorns/zarf/.github/actions/save-logs@main
15 changes: 15 additions & 0 deletions .github/workflows/scan-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Validate Labels
on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]

permissions:
contents: read

jobs:
enforce:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/enforce-label-action@a3c219da6b8fa73f6ba62b68ff09c469b3a1c024 # 2.2.2
with:
BANNED_LABELS: "needs-docs,needs-tests,needs-adr,needs-git-sign-off"
Loading
Loading