Skip to content

Commit

Permalink
add lower-optimize job
Browse files Browse the repository at this point in the history
  • Loading branch information
tek committed May 26, 2024
1 parent f3b1120 commit 24ada60
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lower-optimize.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: lower-optimize
on:
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
lower-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
with:
name: tek
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- id: bounds
run: nix run .#lower.optimize -- --output=ga-pr
- name: pr
if: steps.bounds.outputs.commit-message
uses: peter-evans/create-pull-request@v5
with: ${{ steps.bounds.outputs }}

0 comments on commit 24ada60

Please sign in to comment.