Skip to content

Commit

Permalink
ci: Updates self hosted runner group and adds CODEOWNERS (hashgraph#4032
Browse files Browse the repository at this point in the history
)

* ci: Updates self hosted runner group and adds CODEOWNERS

Update the self-hosted runner to use the guardian runner group label
Adds a standard CODEOWNERS file

Signed-off-by: Roger Barker <[email protected]>

* fixes typo in CODEOWNERS

Signed-off-by: Roger Barker <[email protected]>

---------

Signed-off-by: Roger Barker <[email protected]>
  • Loading branch information
rbarkerSL authored Aug 16, 2024
1 parent eaf24dc commit 27e5943
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 3 deletions.
49 changes: 49 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
###################################
##### Global Protection Rule ######
###################################
# NOTE: This rule is overriden by the more specific rules below. This is the catch-all rule for all files not covered by the more specific rules below.
* @hashgraph/developer-advocates

############################
##### Project Files ######
############################

/src/** @hashgraph/developer-advocates
/__tests__/** @hashgraph/developer-advocates


#########################
##### Core Files ######
#########################

# NOTE: Must be placed last to ensure enforcement over all other rules

# Protection Rules for Github Configuration Files and Actions Workflows
/.github/ @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering-managers
/.github/workflows/ @hashgraph/devops-ci @hashgraph/devops-ci-committers

# NodeJS project files
package.json @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/developer-advocates
package-lock.json @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/developer-advocates
jest.config.mjs @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/developer-advocates

# Codacy Tool Configurations
/config/ @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/developer-advocates
.remarkrc @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/developer-advocates

# Semantic Release Configuration
.releaserc @hashgraph/devops-ci @hashgraph/devops-ci-committers

# Self-protection for root CODEOWNERS files (this file should not exist and should definitely require approval)
/CODEOWNERS @hashgraph/release-engineering-managers

# Protect the repository root files
/README.md @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering-managers
**/LICENSE @hashgraph/release-engineering-managers

# CodeCov configuration
**/codecov.yml @hashgraph/devops-ci @hashgraph/devops-ci-committers

# Git Ignore definitions
**/.gitignore @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering-managers
**/.gitignore.* @hashgraph/devops-ci @hashgraph/devops-ci-committers @hashgraph/release-engineering-managers
2 changes: 1 addition & 1 deletion .github/workflows/add-documentation-to-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
runService:
name: Run Service
runs-on: [self-hosted, Linux, medium, ephemeral]
runs-on: guardian-linux-medium
strategy:
matrix:
node-version: [ 20.x ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
buildAndTest:
name: Build and Test (Manual - Main)
runs-on: [self-hosted, Linux, medium, ephemeral]
runs-on: guardian-linux-medium
strategy:
matrix:
node-version: [ 20.10.0 ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
docker:
name: Publish to Docker
runs-on: [self-hosted, Linux, medium, ephemeral]
runs-on: guardian-linux-medium
permissions:
id-token: write
contents: read
Expand Down

0 comments on commit 27e5943

Please sign in to comment.