Skip to content

Commit bb2d631

Browse files
Add input for scaleset-label in custom label workflow (#7)
* Add input for scaleset-label in custom label workflow Updated workflow to include input for scaleset-label. * Potential fix for code scanning alert no. 7: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent a54bd4d commit bb2d631

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Custom label
2+
permissions:
3+
contents: read
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
scaleset-label:
8+
required: true
9+
type: string
10+
description: Label to test the scale set assignment
11+
12+
jobs:
13+
say-hello:
14+
runs-on: ${{ inputs.scaleset-label }}
15+
steps:
16+
- uses: actions/checkout@v6
17+
- name: Run a one-liner
18+
run: echo Hello, World!

0 commit comments

Comments
 (0)