Skip to content

chore(deps): update actions/checkout action to v4 (#27) #8

chore(deps): update actions/checkout action to v4 (#27)

chore(deps): update actions/checkout action to v4 (#27) #8

Workflow file for this run

---
name: Update dependencies
"on":
push:
branches:
- main
pull_request:
branches:
- "*"
workflow_dispatch: {}
jobs:
update:
name: Update rebar.lock
if: "${{ github.ref == 'refs/heads/renovate/rebar.config-deps' }}"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: erlef/setup-beam@0a541161e47ec43ccbd9510053c5f336ca76c2a2 # v1.17.6
with:
version-type: strict
version-file: .tool-versions
- run: |
rebar3 upgrade --all
if ! git diff --exit-code >/dev/null; then
# there's stuff to push
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add rebar.lock
git commit -m "[automation] update \`rebar.lock\` after Renovate"
git push
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}