This repository was archived by the owner on Aug 12, 2026. It is now read-only.
Repository navigation
chore: install lint tools explicitly for baseline v0.6.2 #17
Closed
+1,084
−287
Closed
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
8970e0e
feat: extensible format and provider system with YAML and local ref s…
ineedjet d3ef623
fix: resolve ruff lint errors (F401, I001, UP037)
ineedjet 4ea22fd
fix: address review feedback — cache asset bug, local refresh, YAML b…
ineedjet c747302
fix: address second round of review feedback
ineedjet 1aa025d
fix: indent replacement body to match YAML marker indentation
ineedjet 0ef3f0c
refactor: remove TextFormat fallback, process only known formats
ineedjet 4c795cc
refactor: consolidate modules, eliminate circular imports
ineedjet 6c9628f
fix: address second round of review feedback
ineedjet 9f38b55
chore: add dependabot config with local embedder fragment
ineedjet 520f0fc
chore: move entire dependabot config into a single local fragment
ineedjet a68409b
chore: refresh local fragments during release preparation
ineedjet 18d4074
feat: add --local-only flag to embedder update
ineedjet c935e62
feat: extract refresh-local-fragments composite action
ineedjet 52d1c46
fix: move dependabot fragment to .github/fragments/
ineedjet 9b1ad0f
chore: drop setup-python from refresh-local-fragments action
ineedjet e766b25
Delete dependabot.yaml
ineedjet 259e164
refactor: resolve local: refs relative to base_dir (default CWD)
ineedjet 1c4296f
refactor: extract PR creation into open-fragments-pr composite action
ineedjet f16f811
refactor: align update-fragments.yml with shared workflow pattern
ineedjet b4a25e9
chore: extract pytest into separate spec workflow
ineedjet 48922d9
refactor: simplify PR body to git diff --stat, drop JSON output
ineedjet 15fa6fa
feat: auto-bump embedder version in shared workflow on release
ineedjet 38ae54f
refactor: extract install-embedder action, version pin lives in uses:…
ineedjet ce1deff
chore: install lint tools explicitly for baseline v0.6.2 compatibility
ineedjet 6c3c224
chore: use setup-runtimes from baseline instead of manual installs
ineedjet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| name: Bump shared workflow embedder version | ||
| description: Bump the embedder pip install version in update-fragments-shared.yml, commit and push. | ||
| inputs: | ||
| version: | ||
| description: Release version without v prefix. | ||
| required: true | ||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Bump and commit | ||
| shell: bash | ||
| run: | | ||
| set -euo pipefail | ||
| file=.github/workflows/update-fragments-shared.yml | ||
| if ! grep -q 'install-embedder@v' "$file" 2>/dev/null; then | ||
| exit 0 | ||
| fi | ||
| sed -i "s|/install-embedder@v[^'\"]*|/install-embedder@v${{ inputs.version }}|" "$file" | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| git add "$file" | ||
| git diff --cached --quiet || git commit -m "chore: bump shared workflow to ${{ inputs.version }}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| name: Install embedder | ||
| description: Install embedder from this repository's source tree. | ||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Install | ||
| shell: bash | ||
| run: pip install -e "${{ github.action_path }}/../../.." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Open fragments PR | ||
| description: "Commit fragment updates and open a pull request." | ||
| inputs: | ||
| branch: | ||
| description: Branch name for the PR. | ||
| required: false | ||
| default: embedder/update-fragments | ||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Commit and open pull request | ||
| shell: bash | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| BRANCH: ${{ inputs.branch }} | ||
| run: | | ||
| stat=$(git diff --stat) | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| git checkout -b "$BRANCH" | ||
| git add -A | ||
| git commit -m "chore: update embedded fragments" | ||
| git push origin "$BRANCH" --force | ||
| existing=$(gh pr list --head "$BRANCH" --json number --jq '.[0].number // empty') | ||
| if [ -z "$existing" ]; then | ||
| gh pr create \ | ||
| --title "chore: update embedded fragments" \ | ||
| --body "$stat" \ | ||
| --head "$BRANCH" | ||
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| name: Refresh local fragments | ||
| description: "Re-embed all local: fragment refs in the workspace without bumping external dependencies." | ||
| inputs: | ||
| paths: | ||
| description: Files or directories to scan. Defaults to the current directory. | ||
| required: false | ||
| default: "." | ||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Refresh local fragments | ||
| shell: bash | ||
| env: | ||
| EMBEDDER_PATHS: ${{ inputs.paths }} | ||
| run: | | ||
| pip install -e "${{ github.action_path }}/../../.." | ||
| read -ra paths <<< "$EMBEDDER_PATHS" | ||
| embedder update "${paths[@]}" --local-only |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # embedder local:fragments/dependabot.yaml | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: pip | ||
| directory: "/" | ||
| schedule: | ||
| interval: weekly | ||
| - package-ecosystem: github-actions | ||
| directory: "/" | ||
| schedule: | ||
| interval: weekly | ||
| # /embedder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| name: Spec | ||
| on: | ||
| push: | ||
| branches: ["main"] | ||
| pull_request: | ||
| workflow_dispatch: | ||
| jobs: | ||
| spec: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v7 | ||
| - uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: "3.13" | ||
| - run: pip install -e . pytest | ||
| - run: pytest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Update embedded fragments | ||
| on: | ||
| schedule: | ||
| - cron: '0 8 * * *' # 10:00 Berlin (CEST, UTC+2) | ||
| workflow_dispatch: | ||
| jobs: | ||
| update: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| steps: | ||
| - uses: actions/checkout@v7 | ||
| - name: Run embedder update | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| run: | | ||
| pip install -e . | ||
| embedder update . | ||
| - name: Detect changes | ||
| id: diff | ||
| run: | | ||
| if git diff --quiet; then | ||
| echo "changed=false" >> "$GITHUB_OUTPUT" | ||
| else | ||
| echo "changed=true" >> "$GITHUB_OUTPUT" | ||
| fi | ||
| - name: Open pull request | ||
| if: steps.diff.outputs.changed == 'true' | ||
| uses: ./.github/actions/open-fragments-pr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: pip | ||
| directory: "/" | ||
| schedule: | ||
| interval: weekly | ||
| - package-ecosystem: github-actions | ||
| directory: "/" | ||
| schedule: | ||
| interval: weekly |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the shared workflow documented for consuming repos, this step runs after
actions/checkout, which checks out the caller's repository. A localuses: ./.github/actions/open-fragments-pris therefore resolved in the caller workspace; any consumer that does not also vendor this new action will fail before opening the update PR. Keep this inline or reference the action viarubykatzen/embedder/.github/actions/open-fragments-pr@....Useful? React with 👍 / 👎.