first workflow #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
- 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" |