sersoft-gmbh/running-release-tags-action
Action declares a main entrypointBasename is uppercase README.md
SHA-2567400f6c1c776e0615c00ee2e34f0341a3ced57d6c6d8630974bbcf2b76d8c77f
Evidence
1name: CodeQL
2
3on:
4 push:
5 branches: [ master ]
6 paths-ignore: [ 'dist/*.js' ]
⋯9 lines
16 runs-on: ubuntu-latest
17 permissions:
18 actions: read
19 contents: read
20 security-events: write
⋯6 lines
27 steps:
28 - name: Checkout repository
29 uses: actions/checkout@v3.1.0
30
31 - name: Initialize CodeQL
⋯4 lines
36
37 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
38 # If this step fails, then you should remove it and run the build manually (see below)
39 - name: Autobuild
40 uses: github/codeql-action/autobuild@v2
41
42 # ℹ️ Command-line programs to run using the OS shell.
43 # 📚 https://git.io/JvXDl
44
⋯4 lines
1name: Update Release Tags
2
3on:
⋯6 lines
10 runs-on: ubuntu-latest
11 steps:
12 - uses: actions/checkout@v3.1.0
13 - uses: sersoft-gmbh/running-release-tags-action@master
14 if: ${{ github.event.release.prerelease == false }}
15 with:
16 update-full-release: true
17 github-token: ${{ secrets.GITHUB_TOKEN }}
1# Release Tag Updater
2
3[](https://github.com/sersoft-gmbh/running-release-tags-action/actions/workflows/tests.yml)
4
5This action automatically updates "running release" major and major.minor tags and GitHub releases.
6
7## Inputs
8
9### `tag`
10
11The tag to use for generating the other tags.<br/>
12If not set, the action will attempt to parse it from `${{github …
79:192… ial release.<br/>
80Note that if `github-token` is **not** `${{secrets.GITHUB_TOKEN}}` but rather a personal access token (PAT) instead, this can lead to workflow run cycles if this action is run when a releases is edited/updated!<br/>
81Default: `false`
82
83### `github-token`
84
85The token with which to authenticate against GitHub. Only required if releases should be created. Can also be set to `${{secrets.GITHUB_TOKEN}}`.<br/>
86Default: `${{github.token}}`
87
88## Example Usage
89
90Use the following snippet to create a major and minor release for the …
⋯4 lines
5if [ $# -ne 11 ]; then
6 >&2 echo "Invalid argument count!"
7 >&2 echo "Usage: $0 version_tag update_major update_minor skip_repo_setup create-releases create-releases-as-draft update-full-release major-release-title major-release-body minor-release-title minor-release-body"
8 exit 1
9fi
10
11TAG="${1}"
12MAJOR_TAG=$(echo -en "${TAG}" | awk -F'.' '{print $1}')
13MINOR_TAG=$(echo -en "${TAG}" | awk -F'.' '{print $1"."$2}')
14UPDATE_MAJOR=$2
15UPDATE_MINOR=$3
16SKIP_REPO_SETUP=$4
⋯5 lines
Showing the top 5 files — 1 more file (13 regions) not shown.
No evidence locations were recorded for this file. Raw result