-
Notifications
You must be signed in to change notification settings - Fork 16
31 lines (28 loc) · 859 Bytes
/
update.yml
File metadata and controls
31 lines (28 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: monthly_release
on:
schedule:
- cron: "0 0 1 * *" # First day of month
jobs:
monthly_release:
name: GitHub Monthly Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# Update checkout version and add fetch-depth
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: anothrNick/github-tag-action@1.64.0
id: set_release_tag
env:
# Use Fleetbench PAT secret
GITHUB_TOKEN: ${{ secrets.FLEETBENCH_PAT }}
WITH_V: true
DEFAULT_BUMP: patch
INITIAL_VERSION: 2.0.1
- uses: marvinpinto/action-automatic-releases@v1.2.1
with:
repo_token: "${{ secrets.FLEETBENCH_PAT }}"
prerelease: true
automatic_release_tag: ${{ steps.set_release_tag.outputs.new_tag }}