No description
Find a file
Magnus Solfeldt ccd20d9838
All checks were successful
Docker integration test / docker-test (push) Successful in 9s
create release dist / release (push) Successful in 4m59s
nix flake check / check (push) Successful in 2m23s
Update default values for git user name and email in action inputs
2026-09-23 03:05:45 +02:00
.forgejo Add workflow for creating release distributions on tag push 2026-09-23 02:27:36 +02:00
.gitignore Add initial configuration files for actionlint and flake setup 2026-09-22 20:14:16 +02:00
action.yml Update default values for git user name and email in action inputs 2026-09-23 03:05:45 +02:00
flake.lock Add initial configuration files for actionlint and flake setup 2026-09-22 20:14:16 +02:00
flake.nix Add initial configuration files for actionlint and flake setup 2026-09-22 20:14:16 +02:00
LICENSE Initial commit 2026-09-22 18:01:33 +02:00
README.md Update default values for git user name and email in action inputs 2026-09-23 03:05:45 +02:00

setup-git

Small action to set up git.

This action is based on actions/setup-home.

Inputs

name description required default
gpg-privkey GPG private key to import in the OpenPGP keyboy false ""
gpg-key-id GPG key ID of the PGP key in gpg-privkey false ""
git-user-name The name to use for Git commits true forgejo-actions[bot]
git-user-email The email to use for Git commits true git@git.bitbunker.page
nix-github-token Sets a GitHub token for Nix to avoid rate limiting. false ""

Runs

This action is a composite action.

Usage

- uses: actions/setup-git@v1
  with:
    gpg-privkey:
    # GPG private key to import in the OpenPGP keyboy
    #
    # Required: false
    # Default: ""

    gpg-key-id:
    # GPG key ID of the PGP key in `gpg-privkey`
    #
    # Required: false
    # Default: ""

    git-user-name:
    # The name to use for Git commits
    #
    # Required: true
    # Default: forgejo-actions[bot]

    git-user-email:
    # The email to use for Git commits
    #
    # Required: true
    # Default: git@git.bitbunker.page

    nix-github-token:
    # Sets a GitHub token for Nix to avoid rate limiting.
    #
    # Required: false
    # Default: ""