Fix pre-commit errors

This commit is contained in:
Brendon Smith 2024-04-18 22:01:29 -04:00
parent 783267be69
commit e453f8c630
No known key found for this signature in database
3 changed files with 16 additions and 2 deletions

View File

@ -1,25 +1,38 @@
--- ---
name: 🏃 name: 🏃
description: >-
Run Docker container to
upload Python distribution packages to PyPI
inputs: inputs:
user: user:
description: PyPI user
required: false required: false
password: password:
description: Password for your PyPI user or an access token
required: false required: false
repository-url: repository-url:
description: The repository URL to use
required: false required: false
packages-dir: packages-dir:
description: The target directory for distribution
required: false required: false
verify-metadata: verify-metadata:
description: Check metadata before uploading
required: false required: false
skip-existing: skip-existing:
description: >-
Do not fail if a Python package distribution
exists in the target package index
required: false required: false
verbose: verbose:
description: Show verbose output.
required: false required: false
print-hash: print-hash:
description: Show hash values of files to be uploaded
required: false required: false
runs: runs:
using: docker using: docker
image: {{image}} image: "{{image}}"
args: args:
- ${{ inputs.user }} - ${{ inputs.user }}
- ${{ inputs.password }} - ${{ inputs.password }}

View File

@ -11,6 +11,7 @@ on: # yamllint disable-line rule:truthy
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Build Docker image - name: Build Docker image

View File

@ -31,7 +31,7 @@ repos:
args: args:
- --builtin-schema - --builtin-schema
- github-workflows-require-timeout - github-workflows-require-timeout
files: ^\.github/workflows/[^/]+$ files: ^\.github\/workflows/[^/]+$
types: types:
- yaml - yaml
- id: check-readthedocs - id: check-readthedocs