chore(deps): update ⬆️ gomod patching to 701f63a (#328) #1571
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@692973e3d937129bcbf40652eb9f2f61becf3332 # 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 | |
uses: addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185 # v3 | |
with: | |
# https://github.com/scottames/boxes | |
image: ghcr.io/scottames/fedora-toolbox:latest | |
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 }}" |