-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
42 lines (39 loc) · 1.11 KB
/
Copy pathaction.yml
File metadata and controls
42 lines (39 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: GitHub Python Script
author: Austen Stone
description: Run Python scripts with access to GitHub API and workflow context
branding:
icon: "code"
color: "blue"
inputs:
script:
description: The Python script to run
required: true
github-token:
description: The GitHub token used to create an authenticated client
default: ${{ github.token }}
required: false
result-encoding:
description: The encoding to use for the result (json or string)
default: json
required: false
retries:
description: Number of times to retry failed requests
default: "0"
required: false
retry-exempt-status-codes:
description: Comma-separated list of status codes to exempt from retries
default: "400,401,403,404,422"
required: false
base-url:
description: Base URL for GitHub API (for GitHub Enterprise)
required: false
python-version:
description: Python version to use
default: "3.x"
required: false
outputs:
result:
description: The return value of the script, encoded as specified by result-encoding
runs:
using: "node20"
main: "dist/index.js"