File: dispatch.yml

package info (click to toggle)
libvpl 1%3A2.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,580 kB
  • sloc: cpp: 92,604; ansic: 6,176; python: 4,312; sh: 323; makefile: 7
file content (32 lines) | stat: -rw-r--r-- 722 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
name: Workflow tester
on:
  workflow_dispatch:
    inputs:
      do_checkout:
        description: 'Perform checkout'
        required: true
        type: boolean
      runner:
        description: 'Runner to run on'
        default: "innersource.prod.amr.dind"
        type: string
      command:
        description: 'command to run'
        required: true
        type: string

permissions:
  contents: read

jobs:
  run-input-command:
    runs-on: ["${{ inputs.runner }}"]
    steps:
      - name: Check out code
        if: ${{ inputs.do_checkout }}
        uses: actions/checkout@v4
        with:
          fetch-depth: 0  # with history for git lint
      - name: Run command
        run: ${{ inputs.command }}