Skip to content

Add Azure Linux 3 to CI pipelines #10

Add Azure Linux 3 to CI pipelines

Add Azure Linux 3 to CI pipelines #10

Workflow file for this run

name: Pull Request auto-merge
on: pull_request_target
permissions:
contents: write
pull-requests: write
jobs:
automerge:
# Only run for the microsoft-golang-bot
if: github.actor == 'microsoft-golang-bot'
runs-on: ubuntu-latest
steps:
- name: Approve pull request
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for pull request
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}