chore(deps): update gomod-patch-and-minor #1807
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: chezmoi init | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: read-all | |
jobs: | |
getModules: | |
name: chezmoi init | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Extract branch name | |
shell: bash | |
run: | | |
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" \ | |
>> "${GITHUB_OUTPUT}" | |
id: extract_branch | |
- name: Run chezmoi init in container | |
# yamllint disable-line rule:line-length | |
uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3 | |
with: | |
# https://github.com/scottames/boxes | |
image: ghcr.io/scottames/fedora-toolbox:latest | |
# yamllint disable-line rule:line-length | |
options: -v ${{ github.workspace }}:/home/container/src/github.com/scottames/dots/main | |
run: | | |
/home/container/src/github.com/scottames/dots/main/scripts/init.sh \ | |
--no-tty --branch "${{ steps.extract_branch.outputs.branch }}" \ | |
--promptDefaults |