fork/eza
git clone https://git.julia.blue/fork/eza
cf8669eb
main
1# SPDX-FileCopyrightText: 2025 Christina Sørensen 2# 3# SPDX-License-Identifier: EUPL-1.2 4name : "Automated Dependency Bump" 5on : 6workflow_dispatch : 7schedule : 8- cron : '0 0 * * 4' 9jobs : 10update-and-create-pr : 11runs-on : ubuntu-latest 12concurrency : 13group : ${{ github.workflow }}-${{ github.ref }} 14cancel-in-progress : true 15steps : 16- name : "Checkout repository" 17uses : actions/checkout@v4 18with : 19fetch-depth : 0 20- name : "Install Nix" 21uses : cachix/install-nix-action@v22 22with : 23nix_path : nixpkgs=channel:nixos-unstable 24- name : "Set up Git credentials" 25run : | 26git config user.name "github-actions[bot]" 27git config user.email "github-actions[bot]@users.noreply.github.com" 28- name : "Run update script" 29id : run_script 30run : | 31chmod +x .github/workflows/update-dependencies.sh 32.github/workflows/update-dependencies.sh 33 34BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) 35echo "branch=${BRANCH_NAME}" >> $GITHUB_OUTPUT 36- name : "Create Pull Request" 37env : 38GH_TOKEN : ${{ secrets.GITHUB_TOKEN }} 39run : | 40 gh pr create \ 41 --title "build(deps): Automatic dependency updates for $(date --iso-8601)" \ 42 --body "This PR was automatically generated by a GitHub Action to update crate and flake dependencies. Please review the changes and merge." \ 43 --base main \ 44 --head ${{ steps.run_script.outputs.branch }}