1
0
mirror of synced 2026-01-10 09:02:35 -05:00

use Actions merge_group event

This commit is contained in:
Ariel Deitcher
2022-07-22 17:08:16 +00:00
parent 3af559243c
commit 54c8a1a103
8 changed files with 23 additions and 30 deletions

View File

@@ -17,6 +17,7 @@ on:
# unlike 'pull_request_target', these only have secrets if the pull
# request creator has permission to access secrets.
pull_request_target:
merge_group:
workflow_dispatch:
inputs:
PR_NUMBER:
@@ -27,9 +28,6 @@ on:
description: 'The commit SHA to build'
type: string
required: true
push:
branches:
- gh-readonly-queue/main/**
permissions:
contents: read
@@ -200,7 +198,7 @@ jobs:
- name: Run ARM deploy
# This 'if' will be truth, if this workflow is...
# - run as a workflow_dispatch
# - run because of a push to main (or gh-readonly-queue/main)
# - run because of a push to main (or when added to a merge queue)
# - run as a regular pull request
# But if it's a pull request, *and* for whatever reason, the pull
# request has "Auto-merge" enabled, don't bother.

View File

@@ -5,9 +5,7 @@ name: Dry run Elasticsearch indexing
# **Who does it impact**: Docs engineering.
on:
push:
branches:
- gh-readonly-queue/main/**
merge_group:
pull_request:
paths:
- script/search/index-elasticsearch.mjs

View File

@@ -6,10 +6,10 @@ name: 'Link Checker: All English'
on:
workflow_dispatch:
merge_group:
push:
branches:
- main
- gh-readonly-queue/main/**
pull_request:
permissions:

View File

@@ -6,6 +6,7 @@ name: Repo Freeze Check
on:
workflow_dispatch:
merge_group:
pull_request_target:
types:
- opened
@@ -15,9 +16,6 @@ on:
- unlocked
branches:
- main
push:
branches:
- gh-readonly-queue/main/**
permissions:
contents: none

View File

@@ -6,10 +6,8 @@ name: Node.js Tests
on:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- gh-readonly-queue/main/**
permissions:
contents: read

View File

@@ -5,6 +5,7 @@ name: Check for unallowed internal changes
# **Who does it impact**: Docs engineering and content writers.
on:
merge_group:
pull_request:
types:
- labeled
@@ -12,9 +13,6 @@ on:
- opened
- reopened
- synchronize
push:
branches:
- gh-readonly-queue/main/**
permissions:
# This is needed by dorny/paths-filter