diff --git a/.github/workflows/automerge-docs.yml b/.github/workflows/automerge-docs.yml index d69e85e0..25bd4b55 100644 --- a/.github/workflows/automerge-docs.yml +++ b/.github/workflows/automerge-docs.yml @@ -12,24 +12,21 @@ # See the License for the specific language governing permissions and # limitations under the License. -name: Dependabot +name: Automerge Docs on: pull_request permissions: contents: write jobs: - test: - uses: ./.github/workflows/test.yml - dependabot: - needs: test + automerge: runs-on: ubuntu-latest if: ${{ github.actor == 'googlemaps-bot' }} env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.SYNCED_GITHUB_TOKEN_REPO}} steps: - - name: approve + - name: approve PR run: gh pr review --approve "$PR_URL" - name: merge run: gh pr merge --auto --squash --delete-branch "$PR_URL"