Skip to content

Commit

Permalink
Merge pull request #68 from koterpillar/renovate-update-lockfile
Browse files Browse the repository at this point in the history
chore(build): update Stack lockfile on Renovate branches
  • Loading branch information
koterpillar authored Jan 4, 2025
2 parents 3b41bb4 + 181d736 commit 8d315c8
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/renovate-lockfile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Renovate Lockfile Update

on:
push:
branches:
- renovate/**

jobs:
update-stack-lockfile:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build and test
uses: freckle/stack-action@v5
with:
stack-build-arguments: --dry-run
- name: Update lockfile
run: |
if git diff --name-only | grep -q 'stack.yaml.lock'; then
git add stack.yaml.lock
git commit --amend --no-edit
git push origin HEAD
fi

0 comments on commit 8d315c8

Please sign in to comment.