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

just testing... #21

Merged
merged 1 commit into from
Jun 14, 2020
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
2 changes: 2 additions & 0 deletions .github/workflows/close-milestone.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Close Milestone

on:
release:
types:
- released

jobs:
close_milestone:
runs-on: ubuntu-latest
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/update-milestones.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,45 @@ on:
- closed
- opened
- reopened
- synchronize

jobs:
update_milestone:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Fetch all history for all tags and branches
run: git fetch --prune

- name: Install GitVersion
if: ${{ github.event.action == 'opened' }}
uses: gittools/actions/gitversion/setup@master
with:
versionSpec: '5.x'

- name: Install GitReleaseManager
if: ${{ github.event.action == 'opened' }}
uses: gittools/actions/gitreleasemanager/setup@master
with:
versionSpec: '0.11.x'

- name: Use GitVersion
if: ${{ github.event.action == 'opened' }}
id: gitversion
uses: gittools/actions/gitversion/execute@master

- name: Create Milestone
if: ${{ github.event.action == 'opened' }}
uses: WyriHaximus/[email protected]
with:
title: v${{ steps.gitversion.outputs.majorMinorPatch }}
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
continue-on-error: true

- name: sync milestones
uses: ./sync-milestone/
Expand Down
Loading