Skip to content

fix unbound variable error #13

fix unbound variable error

fix unbound variable error #13

Workflow file for this run

name: Chezmoi Setup Validation
on: push
env:
dev: "false"
jobs:
validate-chezmoi-setup:
runs-on: ubuntu-latest
steps:
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Initialize chezmoi with the current branch content
run: sh -c "$(curl -fsLS chezmoi.io/get)" -- init --apply ${{ github.repository_owner }} --branch ${{ steps.extract_branch.outputs.branch }}