Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Automate milestone closing & commenting #627

Merged
merged 1 commit into from
Aug 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/milestone-closed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Closed Milestones

on:
milestone:
types: [closed]

permissions:
issues: write
pull-requests: write

jobs:
Comment:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: bflad/action-milestone-comment@v1
with:
body: |
This functionality has been released in [${{ github.event.milestone.title }} of the language server](https://github.com/${{ github.repository }}/blob/${{ github.event.milestone.title }}/CHANGELOG.md).
If you use the official Terraform VS Code extension, it will prompt you to upgrade to this version automatically upon next launch or within the next 24 hours.

For further feature requests or bug reports with this functionality, please create a [new GitHub issue](https://github.com/${{ github.repository }}/issues/new/choose) following the template. Thank you!
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

permissions:
contents: write
issues: write

env:
GOPROXY: https://proxy.golang.org/
Expand Down
4 changes: 4 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,9 @@ publishers:
- AWS_SESSION_TOKEN={{ .Env.AWS_SESSION_TOKEN }}
cmd: hc-releases upload-file {{ abs .ArtifactPath }}

milestones:
- name_template: "{{ .Tag }}"
close: true

changelog:
skip: true