Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
8d12dd8
normalize SH pull request templates
lrfalslev Mar 10, 2026
1571c3b
temp change to test SHCE/SHE pipelines
lrfalslev Mar 10, 2026
0daa6f5
update actions, run tests
lrfalslev Mar 11, 2026
559400d
test pipeline with failing test
lrfalslev Mar 11, 2026
d6843bf
separate test job
lrfalslev Mar 12, 2026
07deadc
workflow failing test
lrfalslev Mar 12, 2026
e0e5ac4
fix failing test
lrfalslev Mar 12, 2026
10be218
add publish-dev-package workflow
lrfalslev Mar 17, 2026
cda0ef9
add step to publish dev package
lrfalslev Mar 25, 2026
be08099
remove trailing whitespace
lrfalslev Mar 25, 2026
d4f8a2d
fix variable syntax
lrfalslev Mar 25, 2026
3e2b861
fix command
lrfalslev Mar 25, 2026
9c3b910
syntax
lrfalslev Mar 25, 2026
2fe1294
prune prerelease only
lrfalslev Mar 25, 2026
702160c
powershell variable
lrfalslev Mar 25, 2026
a0e7885
oneline
lrfalslev Mar 25, 2026
212a541
no sha
lrfalslev Mar 25, 2026
35dcfe7
debug
lrfalslev Mar 25, 2026
6461f91
debugging
lrfalslev Mar 25, 2026
741ed9d
try
lrfalslev Mar 25, 2026
f2fc1c0
duplicate name
lrfalslev Mar 25, 2026
e6679dc
specify stable releases
lrfalslev Mar 25, 2026
61392d9
version dev packages with timestamp
lrfalslev Mar 25, 2026
75d1cb5
forgot $
lrfalslev Mar 25, 2026
14185e3
test publishing dev package
lrfalslev Mar 25, 2026
bfe21a3
fix comment
lrfalslev Mar 25, 2026
f1bfa1a
test remove breaking change
lrfalslev Mar 25, 2026
7ab46ae
test breaking change
lrfalslev Mar 25, 2026
822c1f7
test new breaking change
lrfalslev Mar 25, 2026
57a8ef5
keep 5 pre-releases
lrfalslev Mar 27, 2026
e24af3d
remove test breaking change
lrfalslev Mar 27, 2026
872bb65
Merge remote-tracking branch 'origin/v4' into lfalslev/bed-7214
lrfalslev Mar 27, 2026
95fcb23
prune packages
lrfalslev Mar 30, 2026
a757f97
target v4
lrfalslev Mar 30, 2026
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
49 changes: 27 additions & 22 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,40 @@
## Description

<!--- Describe your changes in detail -->
<!-- Describe your changes in detail -->

## Motivation and Context
<!-- Why is this change required? What problem does it solve? -->

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
This PR addresses: [GitHub issue or Jira ticket number]

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
<!--
Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc.*
-->

## Screenshots (if appropriate):

## Types of changes
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Chore (a change that does not modify the application functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Chore (a change that does not modify the application functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] Documentation updates are needed, and have been made accordingly.
- [ ] I have added and/or updated tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] My changes include a database migration.
<!-- Please make sure you have completed all following checks. -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] I have met the contributing prerequisites
- Assigned myself to this PR
- Added the appropriate labels
- Associated an issue: https://github.com/SpecterOps/BloodHound/issues/672
- Read the Contributing guide: https://github.com/SpecterOps/BloodHound/wiki/Contributing
- [ ] I have ensured that related documentation is up-to-date
- Open API docs
- Code comments
- [ ] I have followed proper test practices
- Added/updated tests to cover my changes
- All new and existing tests passed
27 changes: 27 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Test

on:
pull_request:
branches:
- v4

jobs:
build-and-test:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore

- name: Test
run: dotnet test --no-build
25 changes: 0 additions & 25 deletions .github/workflows/build.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/publish-dev-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Publish Dev Package

on:
push:
branches:
- "v4"

jobs:
update-dev-package:
name: update-dev-package
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore

- name: Pack
run: |
$DATE_STAMP=$(date +%Y%m%d%H%M)
mkdir pkgs
dotnet pack --no-restore -c Release -p:PackageVersion=0.0.0-dev.$DATE_STAMP -o ./pkgs

#the prune command deletes older package versions to avoid -dev package clutter
#it groups packages by -label, and keeps the 5 latest of each pre-release label (-rc1, -rc2, -dev, etc)
- name: Publish to SpecterOps Packages
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
run: |
dotnet tool install -g sleet
sleet push ./pkgs
sleet retention prune --package SharpHoundCommon --package SharpHoundRPC `
--stable 999 --prerelease 5 --release-labels 1
Loading