You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -10,7 +14,7 @@ Extract information about the dependencies being updated by a Dependabot-generat
10
14
11
15
## Usage instructions
12
16
13
-
Create a workflow file that contains a step that uses: `dependabot/fetch-metadata@v1.3.1`, e.g.
17
+
Create a workflow file that contains a step that uses: `dependabot/fetch-metadata@v1`, e.g.
14
18
15
19
```yaml
16
20
-- .github/workflows/dependabot-prs.yml
@@ -22,7 +26,7 @@ jobs:
22
26
steps:
23
27
- name: Fetch Dependabot metadata
24
28
id: dependabot-metadata
25
-
uses: dependabot/fetch-metadata@v1.3.1
29
+
uses: dependabot/fetch-metadata@v1
26
30
with:
27
31
alert-lookup: true
28
32
compat-lookup: true
@@ -41,6 +45,9 @@ Supported inputs are:
41
45
- `compat-lookup`(boolean)
42
46
- If `true`, then populate the `compatibility-score` output.
43
47
- Defaults to `false`
48
+
- `skip-commit-verification`(boolean)
49
+
- If `true`, then the action will not expect the commits to have a verification signature. **It is required to set this to 'true' in GitHub Enterprise Server**
50
+
- Defaults to `false`
44
51
45
52
Subsequent actions will have access to the following outputs:
- We expect Dependabot PRs to be passing CI and have any changes to the `dist/` folder built for production dependencies
184
+
- Some development dependencies may fail the `dist/` check if they modify the Typescript compilation, these should be updated manually via `npm run build`. See the [`dependabot-build`](https://github.com/dependabot/fetch-metadata/blob/main/.github/workflows/dependabot-build.yml) action for details.
185
+
- Checkout and update `main`, then generate a patch release branch
Copy file name to clipboardExpand all lines: action.yml
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,10 @@ inputs:
13
13
github-token:
14
14
description: 'The GITHUB_TOKEN secret'
15
15
default: ${{ github.token }}
16
+
skip-commit-verification:
17
+
type: boolean
18
+
description: 'If true, the action will not expect Dependabot commits to be verified. This should be set as `true` in GHES environments.'
19
+
default: false
16
20
outputs:
17
21
dependency-names:
18
22
description: 'A comma-separated list of all package names updated.'
@@ -41,5 +45,5 @@ outputs:
41
45
compatibility-score:
42
46
description: 'If this PR has a known compatibility score and `compat-lookup` is `true`, this contains the compatibility score (otherwise it contains 0).'
0 commit comments