Parcourir la source

Merge branch '6.2.x'

Marcus Hert Da Coregio il y a 1 an
Parent
commit
11e9f5d560
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 4 3
      .github/workflows/trigger-auto-merge-forward.yml

+ 4 - 3
.github/workflows/trigger-auto-merge-forward.yml

@@ -2,15 +2,16 @@ name: Trigger Auto Merge Forward
 
 on:
   push:
+    branches:
+      - '*.x'
 
-permissions:
-  contents: write
+permissions: read-all
 
 jobs:
   trigger-worflow:
     name: Trigger Workflow
     runs-on: ubuntu-latest
-    if: github.event.commits[0].author.username == 'dependabot[bot]'
+    if: ${{ github.event.commits[0].author.username == 'dependabot[bot]' && github.repository == 'spring-projects/spring-security' }}
     steps:
       - name: Checkout
         id: checkout