Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
957ef33
added workflow_dispatch to workflows
petesramek Apr 4, 2026
ceb6349
Merge branch 'preview/1.0' into develop/1.0
petesramek Apr 4, 2026
df5a5e0
moved version selector to the left
petesramek Apr 4, 2026
e7b2263
feat: version-snapshot guides alongside API reference, fix index.md l…
Copilot Apr 4, 2026
bdce7f5
Merge branch 'preview/1.0' into develop/1.0
petesramek Apr 4, 2026
311c57a
Merge branch 'develop/1.0' of https://github.com/petesramek/polyline-…
petesramek Apr 4, 2026
3e9793f
ExceptionGuard made internal
petesramek Apr 4, 2026
22bcfef
Updated docs for version 1.0
petesramek Apr 4, 2026
96330ad
refactor(docs): version picker left-aligned, Reference dropdown repla…
Copilot Apr 4, 2026
d8340a7
Merge remote-tracking branch 'origin/preview/1.0' into develop/1.0
petesramek Apr 4, 2026
8b572e0
Merge branch 'develop/1.0' of https://github.com/petesramek/polyline-…
petesramek Apr 4, 2026
764e8f9
Merge branch 'preview/1.0' into develop/1.0
petesramek Apr 4, 2026
0236a8b
Fix version switcher URL bug and improve docs navigation/landing page…
Copilot Apr 4, 2026
4f96217
feat: add backtrack workflow with branch locking to prevent race cond…
Copilot Apr 4, 2026
387bb95
fix: backtrack workflow fails with 403 — lock/unlock steps are invert…
Copilot Apr 4, 2026
3909e6c
resolved issues
petesramek Apr 4, 2026
f61e57c
fix(backtrack): lock all target branches upfront before merging (#188)
Copilot Apr 4, 2026
9caa7cc
resolved issues
petesramek Apr 4, 2026
c8a957c
fix(backtrack): unblock Merges API when enforce_admins + PR reviews a…
Copilot Apr 4, 2026
0f56fe8
resolved issues
petesramek Apr 4, 2026
29b9131
Backtrack: merge preview/1.0 into develop/1.0
petesramek Apr 4, 2026
70dcc81
fix: backtrack workflow leaves concrete branch rules behind after aut…
Copilot Apr 4, 2026
fc1622b
Backtrack: merge preview/1.0 into develop/1.0
petesramek Apr 4, 2026
71c0230
fix: enable merge commits during backtrack by explicitly setting requ…
Copilot Apr 4, 2026
df35c6d
Backtrack: merge preview/1.0 into develop/1.0
petesramek Apr 4, 2026
3585491
Backtrack: merge preview/1.0 into develop/1.0
petesramek Apr 4, 2026
7bd72ff
Backtrack: merge preview/1.0 into develop/1.0
petesramek Apr 4, 2026
3d75b25
Backtrack: merge preview/1.0 into develop/1.0
petesramek Apr 4, 2026
1840e67
Backtrack: merge preview/1.0 into develop/1.0
petesramek Apr 4, 2026
b75aef4
refactor: extract repeated git identity configuration into reusable c…
Copilot Apr 4, 2026
6b1acec
No changes — design clarification only (#204)
Copilot Apr 4, 2026
0a374f4
fix: checkout missing in workflow-variables job causes promote-branch…
Copilot Apr 4, 2026
6847c9a
fix: fetch target branch before `gh pr create --fill` in promote-bran…
Copilot Apr 4, 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
12 changes: 12 additions & 0 deletions .github/actions/git/configure-identity/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'Configure git identity'
author: 'Pete Sramek'
description: 'Configures git user name and email from the last commit.'

runs:
using: composite
steps:
- name: 'Configure git identity'
shell: bash
run: |
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
6 changes: 4 additions & 2 deletions .github/actions/git/push-changes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,14 @@ runs:
set -e
working-directory: ${{ inputs.working-directory }}

- name: Configure git identity
if: ${{ fromJSON(steps.validate.outputs.has-changes) == '1' }}
uses: './.github/actions/git/configure-identity'

- name: Push changes to ${{ github.head_ref || github.ref }}
if: ${{ fromJSON(steps.validate.outputs.has-changes) == '1' }}
shell: bash
run: |
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
git commit -m '${{ inputs.commit-message }}'
git pull --rebase origin ${{ github.head_ref || github.ref }}
git push
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/github/create-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ runs:
echo "notes-start-tag=${{ inputs.notes-start-tag }}"
echo "notes-start-tag-argument=${{ inputs.notes-start-tag != '' && format('--notes-start-tag {0}', inputs.notes-start-tag) || '' }}"
shell: bash
- name: 'Configure git identity'
uses: './.github/actions/git/configure-identity'
- name: 'Create git tag ${{ inputs.release-version }}'
shell: bash
run: |
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/backtrack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
token: ${{ secrets.GH_ADMIN_TOKEN }}

- name: 'Configure git'
run: |
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
uses: './.github/actions/git/configure-identity'

- name: 'Resolve backtrack targets'
id: targets
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ jobs:
dotnet-version: ${{ env.dotnet-sdk-version }}

- name: 'Configure git'
run: |
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
uses: './.github/actions/git/configure-identity'

- name: 'Create develop branch from main'
run: |
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/promote-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
target-branch-exists: ${{ steps.check-target-branch-exists.outputs.target-branch-exists }}
pull-request-exists: ${{ steps.check-pull-request-exists.outputs.pull-request-exists }}
steps:
- name: 'Checkout ${{ github.head_ref || github.ref }}'
uses: actions/checkout@v6
- name: 'Set target branch'
id: set-target-branch
run: |
Expand Down Expand Up @@ -211,17 +213,12 @@ jobs:
run: |
git fetch origin
git push origin origin/${{ env.base-branch }}:refs/heads/${{ env.target-branch }}
- name: 'Lock target branch'
if: ${{ needs.workflow-variables.outputs.target-branch-exists == 'false' }}
uses: './.github/actions/github/branch-protection/lock'
with:
branch: ${{ needs.workflow-variables.outputs.target-branch }}
token: ${{ secrets.GH_ADMIN_TOKEN }}
- name: 'Create PR: "Promote ${{ env.current-branch }} to ${{ env.target-branch }}"'
if: ${{ needs.workflow-variables.outputs.pull-request-exists == 'false' }}
env:
GH_TOKEN: ${{ github.token }}
current-branch: ${{ github.ref_name }}
target-branch: ${{ needs.workflow-variables.outputs.target-branch }}
run: |
git fetch origin ${{ env.target-branch }}
gh pr create --title "Promote ${{ env.current-branch }} to ${{ env.target-branch }}" --fill --base ${{ env.target-branch }} --head ${{ env.current-branch }}
3 changes: 2 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:
- synchronize
- reopened
branches:
- 'develop/**'
- 'preview/**'
- 'release/**'
- 'release/**'

permissions:
actions: read
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,13 @@ jobs:
echo "support-branch-exists=false" >> $GITHUB_OUTPUT
fi

- name: 'Configure git identity'
if: ${{ steps.check-support-branch.outputs.support-branch-exists == 'false' }}
uses: './.github/actions/git/configure-identity'

- name: 'Create support branch'
if: ${{ steps.check-support-branch.outputs.support-branch-exists == 'false' }}
run: |
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
git checkout -b "${{ steps.resolve-support-branch.outputs.support-branch }}"
git push --set-upstream origin "${{ steps.resolve-support-branch.outputs.support-branch }}"

Expand Down
Loading