Skip to content

Commit d340bd4

Browse files
committed
Workflows: Comment on closed issues with a milestone when the milestone is closed
1 parent a9713fa commit d340bd4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# GitHub Action reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
2+
3+
name: milestone-closed
4+
5+
on:
6+
milestone:
7+
types: [closed]
8+
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
13+
jobs:
14+
comment:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: bflad/action-milestone-comment@v1
18+
with:
19+
body: |
20+
This functionality has been released in [${{ github.event.milestone.title }} of the Terraform GitLab Provider](https://github.com/${{ github.repository }}/blob/${{ github.event.repository.default_branch }}/CHANGELOG.md). Please see the [Terraform documentation on provider versioning](https://www.terraform.io/language/providers/requirements) or reach out if you need any assistance upgrading.
21+
22+
For further feature requests or bug reports with this functionality, please create a [new GitHub issue](https://github.com/${{ github.repository }}/issues/new/choose). Thank you!

0 commit comments

Comments
 (0)