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
This action automatically approves and merges dependabot PRs.
4
4
5
5
## Inputs
6
6
7
7
### `github-token`
8
8
9
-
**Required** A github token.
9
+
**Required** A GitHub token.
10
10
11
11
### `exclude`
12
12
13
-
*Optional* An array of packages that you don't want to auto-merge and would like to manually review to decide whether to upgrade or not.
13
+
_Optional_ An array of packages that you don't want to auto-merge and would like to manually review to decide whether to upgrade or not.
14
+
15
+
### `approve-only`
16
+
17
+
_Optional_ If `true`, the PR is only approved but not merged. Defaults to `false`.
14
18
15
19
### `merge-method`
16
20
17
-
*Optional* The merge method you would like to use (squash, merge, rebase). Default to `squash` merge.
21
+
_Optional_ The merge method you would like to use (squash, merge, rebase). Default to `squash` merge.
18
22
19
23
### `merge-comment`
20
24
21
-
*Optional* An arbitrary message that you'd like to comment on the PR after it gets auto-merged. This is only useful when you're recieving too much of noise in email and would like to filter mails for PRs that got automatically merged.
25
+
_Optional_ An arbitrary message that you'd like to comment on the PR after it gets auto-merged. This is only useful when you're recieving too much of noise in email and would like to filter mails for PRs that got automatically merged.
- The `github_token` is automatically provided by Github Actions, which we access using `secrets.github_token` and supply to the action as an input `github-token`.
50
+
- The GitHub token is automatically provided by Github Actions, which we access using `secrets.GITHUB_TOKEN` and supply to the action as an input `github-token`.
51
+
- This action must be used in the context of a Pull Request. If the workflow can be triggered by other events (e.g. push), make sure to include `github.event_name == 'pull_request'` in the action conditions, as shown in the example.
48
52
- Make sure to use `needs: <jobs>` to delay the auto-merging until CI checks (test/build) are passed.
0 commit comments