Skip to content

Commit 76a8dc4

Browse files
committed
chore: automerge only for the docs branch
1 parent d034441 commit 76a8dc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/auto-merge-doc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
name: Dependabot
15+
name: AutoMerge PR
1616
on: pull_request
1717

1818
permissions:
@@ -22,7 +22,7 @@ permissions:
2222
jobs:
2323
dependabot:
2424
runs-on: ubuntu-latest
25-
if: ${{ github.actor == 'googlemaps-bot' }}
25+
if: ${{ github.actor == 'googlemaps-bot' && github.ref == 'refs/heads/googlemaps-bot/update_gh_pages' }}
2626
env:
2727
PR_URL: ${{github.event.pull_request.html_url}}
2828
GITHUB_TOKEN: ${{secrets.SYNCED_GITHUB_TOKEN_REPO}}

0 commit comments

Comments
 (0)