chore: markdown-table-formatter and formatting

This commit is contained in:
2025-02-09 03:07:31 +02:00
parent 7cd731f718
commit a44f1431dd
30 changed files with 80 additions and 69 deletions

View File

@@ -8,19 +8,19 @@ Sets Git configuration for actions.
### Inputs
| name | description | required | default |
| ---------- | ----------------------------------- | -------- | --------------------------- |
| `token` | <p>GitHub token.</p> | `false` | `${{ github.token }}` |
| `username` | <p>GitHub username for commits.</p> | `false` | `github-actions` |
| `email` | <p>GitHub email for commits.</p> | `false` | `github-actions@github.com` |
| name | description | required | default |
|--------------|----------------------------------------|----------|-----------------------------|
| `token` | <p>GitHub token.</p> | `false` | `${{ github.token }}` |
| `username` | <p>GitHub username for commits.</p> | `false` | `github-actions` |
| `email` | <p>GitHub email for commits.</p> | `false` | `github-actions@github.com` |
### Outputs
| name | description |
| ---------- | ----------------------------------- |
| `token` | <p>GitHub token.</p> |
| `username` | <p>GitHub username for commits.</p> |
| `email` | <p>GitHub email for commits.</p> |
| name | description |
|--------------|----------------------------------------|
| `token` | <p>GitHub token.</p> |
| `username` | <p>GitHub username for commits.</p> |
| `email` | <p>GitHub email for commits.</p> |
### Runs

View File

@@ -36,6 +36,7 @@ runs:
steps:
- name: Check for FIXIMUS_TOKEN
id: bot
shell: bash
run: |
if [ -n "${{ secrets.FIXIMUS_TOKEN }}" ]; then
echo "token=${{ secrets.FIXIMUS_TOKEN }}" >> $GITHUB_OUTPUT
@@ -46,9 +47,9 @@ runs:
echo "username=${{ inputs.username }}" >> $GITHUB_OUTPUT
echo "email=${{ inputs.email }}" >> $GITHUB_OUTPUT
fi
shell: bash
- name: Configure Git
shell: bash
run: |
# Function to clean up Git config
cleanup_git_config() {
@@ -72,4 +73,3 @@ runs:
'git@github.com:'
git config --local user.name "${{ steps.bot.outputs.username }}"
git config --local user.email "${{ steps.bot.outputs.email }}"
shell: bash