-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
79 lines (76 loc) · 2.88 KB
/
Copy pathaction.yml
File metadata and controls
79 lines (76 loc) · 2.88 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: GitHub Actions Dependency Submission
description: >
Submit workflow dependencies to Dependency Graph with composite actions and
fork support
author: Jesse Houwing
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: package
color: blue
# Define your inputs here.
inputs:
token:
description: >
GitHub token with contents:write permission for dependency submission. If
workflows reference private or internal actions in other repositories,
ensure those repositories are configured to allow access. The token will
automatically have contents:read access to allowed repositories.
required: true
default: ${{ github.token }}
repository:
description: Repository to submit dependencies for (owner/repo format)
required: false
default: ${{ github.repository }}
workflow-directory:
description: Directory containing workflow files to scan
required: false
default: .github/workflows
additional-paths:
description:
Additional paths to scan for composite actions and callable workflows
(comma-separated or newline-separated)
required: false
default: ''
fork-organizations:
description:
Comma-separated list of organization names that contain forked actions
required: false
fork-regex:
description: >
Regular expression pattern to transform forked repository names to
original names. Must contain named captures 'org' and 'repo' (e.g.,
'(?<org>[^/]+)/(?<repo>actions-.+)')
required: false
public-github-token:
description: >
GitHub token with contents:read permission for accessing public GitHub
(api.github.com) when running on EMU, GitHub-DR, or GHES instances. Used
to look up original actions from public GitHub when they are not found on
the local instance. See environment-specific documentation in docs/ for
setup instructions.
required: false
report-transitive-as-direct:
description: >
Whether to report transitive dependencies as direct. When true, all
dependencies are reported as direct. When false (default), transitive
dependencies (from composite actions and original repositories) are
reported as indirect.
required: false
default: 'false'
detect-docker:
description: >
Whether to detect and report Docker image dependencies from workflows,
actions, and Dockerfiles. When true, extracts Docker images from job
containers, service containers, docker:// step references, and Dockerfile
base images. When false (default), only GitHub Actions dependencies are
reported. This is an experimental feature - please report any issues on
GitHub.
required: false
default: 'false'
# Define your outputs here.
outputs:
dependency-count:
description: Number of dependencies submitted
runs:
using: node24
main: dist/index.js