Skip to content

DomoticASW/semantic-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DomoticASW semantic release

This action is meant to be used across all the suitable repositories inside the organization.

It automatically checks out the repository and setup Node.

Requirements:

The repository should have semantic-release installed and configured (you should be able to run npx semantic-release).

Using this action in another job requires permissions and the github token as showed below:

# ...
jobs:
  release:
    name: ...
    runs-on: ...
    permissions:
      contents: write # to be able to publish a GitHub release
      issues: write # to be able to comment on released issues
      pull-requests: write # to be able to comment on released pull requests
      id-token: write # to enable use of OIDC for npm provenance
    steps:
      - name: semantic-release
        uses: DomoticASW/semantic-release@1.0.0
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

Outputs:

If the repository has semantic-release-export-data plugin installed then two outputs are available to be used:

  • new-release-published (example: true)
  • new-release-version (example: 1.0.9)

About

No description, website, or topics provided.

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published