Skip to content

chore(deps): update dependency lint-staged to v14 #774

chore(deps): update dependency lint-staged to v14

chore(deps): update dependency lint-staged to v14 #774

Workflow file for this run

name: Create Milestone and Draft Release
on:
workflow_call:
# inputs:
secrets:
RSG_BOT_TOKEN:
required: true
push:
branches:
- master
paths-ignore:
- '**/*.md'
schedule:
- cron: '0 0 * * 4'
jobs:
create_milestone_and_draft_release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
with:
fetch-depth: 0
- name: Fetch all history for all tags and branches
run: git fetch --prune
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.10.2
with:
versionSpec: '5.x'
- name: Use GitVersion
id: gitversion
uses: gittools/actions/gitversion/execute@v0.10.2
- 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/sync-milestone@v0.3.3
with:
default-label: ':sparkles: mysterious'
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
generateReleaseNotes: true
name: 'v${{ steps.gitversion.outputs.majorMinorPatch }}'
tag: 'v${{ steps.gitversion.outputs.majorMinorPatch }}'
token: ${{ secrets.RSG_BOT_TOKEN }}
draft: true
commit: ${{ github.base_ref }}