Skip to content

Commit

Permalink
Merge pull request #81 from koterpillar/fix-lockfile-update
Browse files Browse the repository at this point in the history
chore(build): Use PAT to checkout when doing lockfile update
  • Loading branch information
koterpillar authored Jan 18, 2025
2 parents ff3ab5c + 93779bc commit 363c789
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/renovate-lockfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.RENOVATE_GH_TOKEN }}

- name: Build and test
uses: freckle/stack-action@v5
Expand All @@ -22,7 +24,6 @@ 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
Expand Down

0 comments on commit 363c789

Please sign in to comment.