File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- # # Automatically approves and merges dependabot PRs if tests pass.
16
-
17
15
name : Dependabot
18
16
on : pull_request
19
17
@@ -23,18 +21,15 @@ permissions:
23
21
jobs :
24
22
test :
25
23
uses : ./.github/workflows/test.yml
26
-
27
24
dependabot :
28
25
needs : test
29
- if : ${{ github.actor == 'dependabot[bot]' }}
30
-
31
26
runs-on : ubuntu-latest
27
+ if : ${{ github.actor == 'dependabot[bot]' }}
32
28
env :
33
29
PR_URL : ${{github.event.pull_request.html_url}}
34
30
GITHUB_TOKEN : ${{secrets.SYNCED_GITHUB_TOKEN_REPO}}
35
31
steps :
36
- - name : Approve
32
+ - name : approve
37
33
run : gh pr review --approve "$PR_URL"
38
-
39
- - name : Merge
34
+ - name : merge
40
35
run : gh pr merge --auto --squash --delete-branch "$PR_URL"
You can’t perform that action at this time.
0 commit comments