Skip to content

Replace c10::optional with equivalent std::optional #2

Replace c10::optional with equivalent std::optional

Replace c10::optional with equivalent std::optional #2

Workflow file for this run

name: Auto-merge Bot PRs
on: # yamllint disable-line rule:truthy
pull_request_target:
types: [opened, synchronize]
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]' }}
steps:
- name: Label bot PRs
run: gh pr edit --add-label "ci,skip-changelog" ${{ github.event.pull_request.html_url }}
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
- name: Auto-approve
uses: hmarr/auto-approve-action@v4
with:
github-token: ${{ secrets.PAT }}
- name: Enable auto-merge
run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}
env:
GITHUB_TOKEN: ${{ secrets.PAT }}