Skip to content

chore: add read-only bash commands to permission allowlist (#42) #124

chore: add read-only bash commands to permission allowlist (#42)

chore: add read-only bash commands to permission allowlist (#42) #124

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
jobs:
chezmoi-apply:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Homebrew (Ubuntu)
if: runner.os == 'Linux'
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH
- name: Install chezmoi
run: brew install chezmoi
- name: Run chezmoi init (non-interactive)
run: |
chezmoi init --source="${{ github.workspace }}" --promptBool=minimal=true --promptString=profile=personal --apply
- name: Verify dotfiles
run: |
echo "=== .gitconfig ==="
cat ~/.gitconfig
echo ""
echo "=== .zshrc ==="
cat ~/.zshrc