Warning
To set up the Git user you can now use the more general purpose frequenz-floss/gh-action-setup-git action.
GitHub Action that sets git user and email to enable committing
If you try to use git commit or git tag on GitHub Actions, it will throw an error:
This action is a convenience action which sets the user and email in one line.
steps:
- uses: actions/checkout@v3
- uses: fregante/setup-git-user@v2
- run: git commit --message 'Something cool'
- run: git pushNew commits and tags will be assigned to the @actions user. If you want to customize the user, you don't need this action. Just use:
steps:
- uses: actions/checkout@v3
- run: git config --global user.email "you@example.com"
- run: git config --global user.name "Your Name"
- run: git commit --message 'Something cool'
- run: git push- daily-version-action - Creates a new tag using the format Y.M.D, but only if HEAD isn’t already tagged.
- title-to-labels-action - Cleans up the titles of issues and PRs from common opening keywords.
