Skip to content

chore(deps): update gittools/actions action to v3.0.2 (#1398) #831

chore(deps): update gittools/actions action to v3.0.2 (#1398)

chore(deps): update gittools/actions action to v3.0.2 (#1398) #831

Workflow file for this run

name: Create Milestone and Draft Release
on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
schedule:
- cron: '0 0 * * 4'
jobs:
create_milestone_and_draft_release:
permissions:
# write permission is required to create a github release
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
- name: Fetch all history for all tags and branches
run: git fetch --prune
- name: Install GitVersion
uses: gittools/actions/gitversion/[email protected]
with:
versionSpec: '5.x'
- name: Use GitVersion
id: gitversion
uses: gittools/actions/gitversion/[email protected]
- name: Create Milestone
uses: WyriHaximus/github-action-create-milestone@v1
with:
title: v${{ steps.gitversion.outputs.majorMinorPatch }}
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
continue-on-error: true
- name: sync milestones
uses: RocketSurgeonsGuild/actions/[email protected]
with:
default-label: 'mysterious'
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
generateReleaseNotes: true
draft: true
omitNameDuringUpdate: true
name: 'v${{ steps.gitversion.outputs.majorMinorPatch }}'
tag: 'v${{ steps.gitversion.outputs.majorMinorPatch }}'
token: ${{ secrets.GITHUB_TOKEN }}
commit: ${{ github.base_ref }}