Skip to content

Commit 3472b5a

Browse files
authored
Add Dependabot auto merge
1 parent 0cd1d38 commit 3472b5a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,19 @@ jobs:
3333
- name: Execute tests
3434
run: vendor/bin/phpunit
3535

36+
dependabot:
37+
needs: [tests]
38+
permissions:
39+
pull-requests: write
40+
contents: write
41+
uses: driesvints/github-workflows/.github/workflows/dependabot.yml@main
42+
secrets:
43+
gh_token: ${{ secrets.GITHUB_TOKEN }}
44+
45+
deploy:
46+
needs: [tests]
47+
runs-on: ubuntu-latest
48+
steps:
3649
- name: Deploy
37-
if: github.ref_name == 'main'
50+
if: github.repository == 'laravelio/paste.laravel.io' && github.ref_name == 'main'
3851
run: curl ${{ secrets.ENVOYER_HOOK }}?sha=${{ github.sha }}

0 commit comments

Comments
 (0)