Skip to content

fix issue of inputing password in container #6

fix issue of inputing password in container

fix issue of inputing password in container #6

Workflow file for this run

name: Test Dotfiles on Manjaro
on:
push:
branches: [ main ]
pull_request:
jobs:
dotfiles-test:
name: ${{ matrix.container }}-test
runs-on: ubuntu-latest
strategy:
matrix:
container: ["manjarolinux/base:latest"]
container:
image: ${{ matrix.container }}
env:
USER: dev
HOME: /home/dev
CHEZMOI_VERBOSE: 1
steps:
- name: Prepare environment
run: |
sudo pacman -Syu --noconfirm sudo chezmoi git
sudo useradd -m dev || true
echo "dev ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/dev
- name: chezmoi init dotfiles
run: |
sudo -u dev chezmoi init --apply collieiscute -v