fix(deps): update module github.com/charmbracelet/bubbletea to v1.2.0 #193
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update gomod2nix.toml | |
on: | |
push: | |
paths: | |
- 'go.mod' | |
- 'go.sum' | |
permissions: | |
contents: write | |
jobs: | |
dependabot: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Update checksum | |
run: | | |
nix develop --extra-experimental-features "nix-command flakes" '.#' -c "gomod2nix" | |
# git push if we have a diff | |
if [[ -n $(git diff) ]]; then | |
git config --global user.email "107802416+yorukot@users.noreply.github.com" | |
git config --global user.name "yorukot" | |
git commit -am "chore: update gomod2nix" | |
BRANCH_NAME=$(echo ${{ github.ref }} | sed -e 's/refs\/heads\///g') | |
git push origin HEAD:$BRANCH_NAME | |
fi | |