forked from testcontainers/testcontainers-go
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (23 loc) · 963 Bytes
/
ci-windows-trigger.yml
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
name: windows-test command dispatch
on:
issue_comment:
types: [created]
permissions:
contents: read
jobs:
windows-test-command-trigger:
permissions:
pull-requests: write # for peter-evans/slash-command-dispatch to create PR reaction
runs-on: ubuntu-22.04
steps:
- name: Trigger windows-test command
uses: peter-evans/slash-command-dispatch@f996d7b7aae9059759ac55e978cff76d91853301 # v3.0.2
with:
token: ${{ secrets.WINDOWS_WORKERS_TOKEN }}
# The command to trigger the pipeline: e.g. /windows-test
# The command name must match the name of the repository_dispatch.type in 'ci-windows.yml' workflow, using '-command' as suffix. E.g. 'windows-test-command'
commands: windows-test
issue-type: pull-request
# The user that owns the above token must belong to the elevated role of 'Maintainers'
permission: maintain
reactions: false