Skip to content

Rust 2 control flow #492

Rust 2 control flow

Rust 2 control flow #492

Workflow file for this run

name: Test pull request
on:
pull_request:
paths:
- 'docs/**'
- 'main/**'
- 'overrides/**'
- 'third_party/**'
- 'ci/**'
- 'README.md'
- 'mkdocs.yml'
- '.github/workflows/**'
types: [labeled]
jobs:
test:
name: Test documentation
if: github.event.label.name == 'ready'
runs-on: self-hosted
steps:
- name: Checkout head
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: 'true'
path: '.'
ref: ${{ github.event.pull_request.head.sha }}
- name: Build and deploy
run: |
make build PYTHON=~/build/bin/python3 TEXINPUTS=$PWD/third_party//: PATH=~/.local/texlive/2023/bin/x86_64-linux:$PATH
- name: Merge PR
if: github.event.pull_request.merged == false
run: |
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
gh pr merge ${{ github.event.number }} -d -R ${{ github.repository }} --merge