diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..363942e --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,28 @@ +# Change Details +### Type +Pick **one** of the following: +- - [ ] Bug Fix +- - [ ] Refactor/Non-Functional Update +- - [ ] Test Changes Only +- - [ ] Logging/Metrics +- - [ ] Partial User-Facing Feature +- - [ ] Existing Feature Enhancement +- - [ ] Complete User-Facing Feature +- - [ ] Security Update + + +### Deployment Details +Select all that apply: +- - [ ] Is Behind a Toggle +- - [ ] Cannot be rolled back +- - [ ] Runs workspace upgrades +- - [ ] Has breaking changes + +### Jira/Ticket + +### Summary + +> [!CAUTION] +> The above section is required and must not be manipulated other than checking the check boxes and filling out the summary/ticket information. There is a Github Action that will fail if the pull request template does not conform to this standard. If the ticket information or summary is not filled in it will try to get it from the branch name. + +------ \ No newline at end of file diff --git a/.github/workflows/automated_versioning.yml b/.github/workflows/automated_versioning.yml index e0f179b..f22a6d9 100644 --- a/.github/workflows/automated_versioning.yml +++ b/.github/workflows/automated_versioning.yml @@ -13,12 +13,12 @@ jobs: pull-requests: write steps: - - name: Checkout repository + - name: Checkout main branch uses: actions/checkout@v4 with: ref: main - - name: Read and bump version + - name: Get version from main branch id: old_version shell: bash run: | @@ -27,7 +27,7 @@ jobs: - name: Checkout feature branch uses: actions/checkout@v4 - - name: Get version.txt contents on feature branch + - name: Get version from feature branch id: new_version shell: bash run: | @@ -44,7 +44,7 @@ jobs: if: ${{ steps.old_version.outputs.OLD_VERSION == steps.new_version.outputs.NEW_VERSION }} uses: stefanzweifel/git-auto-commit-action@v5 with: - commit_message: Auto-bumping version.tx + commit_message: Auto-bumping version.txt - name: Update CHANGELOG.md run: | @@ -64,9 +64,3 @@ jobs: } { print } ' CHANGELOG.md > CHANGELOG.tmp && mv CHANGELOG.tmp CHANGELOG.md - - - name: Commit and push new version - run: | - git add . - git commit -m "Bump version to ${{ steps.bump.outputs.new_version }}" - git push diff --git a/Program.cs b/Program.cs index ffef8f2..9575829 100644 --- a/Program.cs +++ b/Program.cs @@ -4,6 +4,6 @@ class Program { static void Main(string[] args) { - Console.WriteLine("Testing out version bump"); + Console.WriteLine("Testing out new version bump"); } } \ No newline at end of file diff --git a/version.txt b/version.txt index 5a5831a..c5d54ec 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.0.7 +0.0.9