mirror of
https://github.com/ivuorinen/actions.git
synced 2026-01-26 11:34:00 +00:00
chore: add tests, update docs and actions (#299)
* docs: update documentation * feat: validate-inputs has it's own pyproject * security: mask DOCKERHUB_PASSWORD * chore: add tokens, checkout, recrete docs, integration tests * fix: add `statuses: write` permission to pr-lint
This commit is contained in:
@@ -12,7 +12,7 @@ Runs pre-commit on the repository and pushes the fixes back to the repository
|
||||
|---------------------|----------------------------------------|----------|-----------------------------|
|
||||
| `pre-commit-config` | <p>pre-commit configuration file</p> | `false` | `.pre-commit-config.yaml` |
|
||||
| `base-branch` | <p>Base branch to compare against</p> | `false` | `""` |
|
||||
| `token` | <p>GitHub token for authentication</p> | `false` | `${{ github.token }}` |
|
||||
| `token` | <p>GitHub token for authentication</p> | `false` | `""` |
|
||||
| `commit_user` | <p>Commit user</p> | `false` | `GitHub Actions` |
|
||||
| `commit_email` | <p>Commit email</p> | `false` | `github-actions@github.com` |
|
||||
|
||||
@@ -48,7 +48,7 @@ This action is a `composite` action.
|
||||
# GitHub token for authentication
|
||||
#
|
||||
# Required: false
|
||||
# Default: ${{ github.token }}
|
||||
# Default: ""
|
||||
|
||||
commit_user:
|
||||
# Commit user
|
||||
|
||||
@@ -21,7 +21,7 @@ inputs:
|
||||
token:
|
||||
description: 'GitHub token for authentication'
|
||||
required: false
|
||||
default: ${{ github.token }}
|
||||
default: ''
|
||||
commit_user:
|
||||
description: 'Commit user'
|
||||
required: false
|
||||
@@ -42,6 +42,11 @@ outputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
token: ${{ inputs.token || github.token }}
|
||||
|
||||
- name: Validate Inputs
|
||||
id: validate
|
||||
uses: ./validate-inputs
|
||||
|
||||
Reference in New Issue
Block a user