Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 5 additions & 4 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,26 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- name: Install changelogs
run: curl -sSL https://changelogs.sh | sh
- name: Install Claude CLI
run: npm install -g @anthropic-ai/claude-code
run: npm install -g @anthropic-ai/claude-code@2.1.96
- name: Generate changelog
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
BASE_REF: ${{ github.base_ref }}
run: |
CHANGED=$(git diff --name-only origin/${{ github.base_ref }}...HEAD)
CHANGED=$(git diff --name-only origin/"$BASE_REF"...HEAD)
CODE_CHANGES=$(echo "$CHANGED" | grep -vE '^(\.changelog/|\.github/|\.gitignore|README\.md|AGENTS\.md)' || true)
if [ -z "$CODE_CHANGES" ]; then
echo "No code changes requiring changelog, skipping"
exit 0
fi
~/.local/bin/changelogs add --ecosystem python --ai "claude -p" --ref origin/${{ github.base_ref }}
~/.local/bin/changelogs add --ecosystem python --ai "claude -p" --ref origin/"$BASE_REF"
- name: Commit changelog
run: |
if [ -n "$(git status --porcelain .changelog/)" ]; then
Expand Down
28 changes: 15 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ on:
- cron: '0 */6 * * *' # Every 6 hours - catch tempo drift early
workflow_dispatch: # Manual trigger

permissions: {}

jobs:
abi-check:
name: ABI Drift Check
if: github.event_name != 'push'
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Install solc
run: |
Expand All @@ -31,10 +33,10 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@8d55fbecc275b1c35dbe060458839f8d30439ccf # v3
with:
version: "latest"

Expand All @@ -57,10 +59,10 @@ jobs:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@8d55fbecc275b1c35dbe060458839f8d30439ccf # v3
with:
version: "latest"

Expand All @@ -77,10 +79,10 @@ jobs:
name: Build package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@8d55fbecc275b1c35dbe060458839f8d30439ccf # v3
with:
version: "latest"

Expand All @@ -101,10 +103,10 @@ jobs:
needs: [lint, test]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@8d55fbecc275b1c35dbe060458839f8d30439ccf # v3
with:
version: "latest"

Expand Down Expand Up @@ -155,10 +157,10 @@ jobs:
needs: [lint, test]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@8d55fbecc275b1c35dbe060458839f8d30439ccf # v3
with:
version: "latest"

Expand All @@ -179,10 +181,10 @@ jobs:
needs: [lint, test]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@8d55fbecc275b1c35dbe060458839f8d30439ccf # v3
with:
version: "latest"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
persist-credentials: true
persist-credentials: false

- uses: wevm/changelogs@master
- uses: wevm/changelogs@04ccca87f4785039ced6da0fff27ba29c0dd9f5c # master
with:
ecosystem: python
python-version: '3.12'
Expand Down
Loading
Loading