Skip to content

Commit

Permalink
Merge pull request #78 from koterpillar/trigger-build-after-lockfile-…
Browse files Browse the repository at this point in the history
…update

chore(build): use Renovate secret for pushing lockfile change
  • Loading branch information
koterpillar authored Jan 9, 2025
2 parents e9a5a81 + 4fabc56 commit 67e9cb9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/renovate-lockfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ jobs:
if git diff --name-only | grep -q 'stack.yaml.lock'; then
git config user.name "renovate[bot]"
git config user.email "29139614+renovate[bot]@users.noreply.github.com"
git remote set-url origin https://x-access-token:${{ secrets.RENOVATE_GH_TOKEN }}@github.com/${{ github.repository }}
git add stack.yaml.lock
git commit -m "chore(deps): update lockfile"
git push
fi
- name: Trigger build
run: gh workflow run CI --ref ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 67e9cb9

Please sign in to comment.