Skip to content

cdqag/workflow-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Public Reusable Workflows

Workflow List

Release Action

This workflow has been created to automate process of releasing new version of custom GitHub Action and/or Reusable Workflow.

Features:

  • Uses Conventional Commits and SemVer to automatically version the action
  • Creates the Release with Changelog
  • Creates/Updates major version tag

Used Actions:

Usage:

name: 📦 Release

on:
  push:
    branches:
      - master

jobs:
  release:
    uses: cdqag/workflow-public/.github/workflows/release-action.yaml@v1

Release Action to Major Version Branch

This workflow has been created to copy (release) specified directories and files to given branch. The problem that is solves, is that coposite GitHub Actions are not supporting git submodules. But what this workflow does, it copies phisical files and directories to the target branch, removing all other files and directories - submodules including. With that, the composite action works, because it does not contain any submodules. The downside of it is that because of changes (removing submodules) the history of the target branch is different, so version cannot be calculated properly, which causes that the workflow has to be triggered manually. But if you don't mind that, this workflow is for you.

Features:

  • Copies specified directories and files to given branch
  • Removes all other files and directories
  • Replaces git submodules with the actual content
  • Gets the major version from the input version
  • Creates/Updates major version branch

Used Actions:

Usage:

name: 📦 Release

on:
  workflow_dispatch:
    inputs:
      version:
        description: 'Version to release'
        required: true
        type: string

jobs:
  release:
    uses: cdqag/workflow-public/.github/workflows/release-action-to-branch.yaml@v1
    with:
        runs-on: hosted-runner
        version: ${{ inputs.version }}

License

This project is licensed under the Apache-2.0 License. See the LICENSE file for details.

About

Workflow Public

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors