Skip to content

Update test.yaml

Update test.yaml #3

Workflow file for this run

name: My workflow
on:
workflow_dispatch:
push:
branches-ignore:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get branch name
run: echo "Branch name: ${{ github.workflow.branch }}"

Check failure on line 16 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

You have an error in your yaml syntax on line 16