Chore: Create close milestone github action (#43269)

This commit is contained in:
Maria Alexandra 2021-12-17 11:14:09 +01:00 committed by GitHub
parent 1aa4c27cd9
commit 7c5d5c0128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

23
.github/workflows/close-milestone.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Close milestone
on:
workflow_dispatch:
inputs:
version:
required: true
description: Needs to match, exactly, the name of a milestone
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "grafana/grafana-github-actions"
path: ./actions
ref: main
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Close milestone
uses: ./actions/close-milestone
with:
token: ${{secrets.GH_BOT_ACCESS_TOKEN}}