Skip to content

simplify on-pr.yml

simplify on-pr.yml #6

Workflow file for this run

name: Build Psibase
on:
workflow_dispatch:
push:
branches:
- main
- "release/*"
pull_request:
types: [assigned, opened, synchronize, reopened, labeled]
jobs:
build:
name: Build
runs-on: ubuntu-latest
uses: ${{ github.repository }}/.github/workflows/ubuntu-builder.yml@${{ github.head_ref || github.ref_name }}

Check failure on line 15 in .github/workflows/on-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/on-pr.yml

Invalid workflow file

invalid value workflow reference: version cannot have whitespace: ${{ github.head_ref || github.ref_name }}
#secrets:
#token: ${{ secrets.GITHUB_TOKEN }}