Skip to content

Commit

Permalink
add action def for release
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Oct 23, 2024
1 parent e3cb5a6 commit 217aa02
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# CSVD/release-tag
name: Release Tag

# Controls when the workflow will run
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions: write-all
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Tag:
# The type of runner that the job will run on
runs-on: ["229685449397"]

steps:
- uses: CSVD/gh-actions-checkout@v4
id: checkout
with:
persist-credentials: false

- name: Setup GITHUB Credentials
id: github_credentials
uses: CSVD/gh-auth@main
with:
github_app_pem_file: ${{ secrets.GH_APP_PEM_FILE }}
github_app_installation_id: ${{ vars.GH_APP_INSTALLATION_ID }}
github_base_url: "${{ github.server_url }}/"

- name: Tag Release
uses: CSVD/release-tag@main
with:
patch: true
env:
GITHUB_TOKEN: ${{ steps.github_credentials.outputs.github_token }}

0 comments on commit 217aa02

Please sign in to comment.