composer-lock.yml 721 B

123456789101112131415161718192021222324252627282930
  1. name: Lock cleanup
  2. on:
  3. push:
  4. branches:
  5. - "dependabot/**"
  6. paths:
  7. - "dev-tools/composer.lock"
  8. permissions:
  9. pull-requests: write
  10. contents: write
  11. jobs:
  12. automate:
  13. name: Automate
  14. runs-on: ubuntu-latest
  15. env:
  16. GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
  17. steps:
  18. - name: Checkout
  19. uses: actions/checkout@v4
  20. - name: Update lock
  21. run: |
  22. git config user.name "dependabot[bot]"
  23. git config user.email "49699333+dependabot[bot]@users.noreply.github.com"
  24. composer --working-dir=dev-tools update --lock
  25. git add dev-tools/composer.lock
  26. git commit -m "update lock file" || echo "nothing to commit"
  27. git push