chore(deps): Bump go.opentelemetry.io/otel/exporters/stdout/stdouttrace from 1.43.0 to 1.44.0 #386
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto-merge PRs | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened, synchronize, labeled, ready_for_review] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| auto-merge: | |
| if: > | |
| !github.event.pull_request.draft && | |
| github.event.pull_request.base.ref == 'main' && | |
| github.event.pull_request.head.repo.full_name == github.repository && | |
| ( | |
| github.event.pull_request.author_association == 'OWNER' || | |
| github.event.pull_request.author_association == 'MEMBER' || | |
| github.event.pull_request.author_association == 'COLLABORATOR' | |
| ) && | |
| contains(github.event.pull_request.labels.*.name, 'agent-merge') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check merge state | |
| run: | | |
| STATE="$(gh pr view "${{ github.event.pull_request.number }}" --repo "${{ github.repository }}" --json mergeStateStatus --jq '.mergeStateStatus')" | |
| if [ "$STATE" = "DIRTY" ] || [ "$STATE" = "BLOCKED" ] || [ "$STATE" = "UNKNOWN" ]; then | |
| echo "Skipping auto-merge because mergeStateStatus=$STATE" | |
| exit 0 | |
| fi | |
| - name: Enable auto-merge (squash) | |
| run: gh pr merge ${{ github.event.pull_request.number }} --auto --squash --repo ${{ github.repository }} | |
| env: | |
| GH_TOKEN: ${{ github.token }} |