Skip to content

Commit 8a606e4

Browse files
authored
Create issue- version-label.yml
1 parent 7a4c4fb commit 8a606e4

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Check version label
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "main" branch
8+
issues:
9+
types: opened
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
16+
jobs:
17+
add-comment:
18+
if: join(github.event.issue.labels) == ''
19+
runs-on: ubuntu-latest
20+
permissions:
21+
issues: write
22+
steps:
23+
- name: Add comment
24+
uses: peter-evans/create-or-update-comment@5f728c3dae25f329afbe34ee4d08eef25569d79f
25+
with:
26+
issue-number: ${{ github.event.issue.number }}
27+
body: |
28+
Please add a wpe-x.xx version label to the issue.

0 commit comments

Comments
 (0)