Skip to content

first workflow

first workflow #2

Workflow file for this run

name: Kick off build
on:
workflow_dispatch:
inputs:
branch:
description: branch
default: 'dailybuild'
type: string
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
name: Trigger build
steps:

Check failure on line 17 in .github/workflows/daily_build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/daily_build.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
id: checkout
with:
ref: ${{ inputs.branch }}
- name: Commit empty to trigger build
env:
BRANCH: ${{ inputs.branch }}
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "[email protected]"
git commit -m "retrigger checks" --allow-empty
git push origin "$BRANCH"