Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Action-gpg

This action sets up a GPG signature for use in actions so you can have verified commits pushed from your actions.

Requirement

Your runner should provide a valid gpg installation.

Usage

See action.yml

Basic:

steps:
  - name: Checkout repository
    uses: actions/checkout@v2
    with:
        token: ${{ secrets.GITHUB_TOKEN }}

  - name: Enable GPG
    uses: creshpay/action-gpg@v2
    with:
        gpg-passphrase: "${{ secrets.CI_GPG_PASSPHRASE }}"
        gpg-sign-key: "${{ secrets.CI_GPG_SIGN_KEY }}"
        git-email: "${{ vars.CI_USER_EMAIL }}"
        git-username: "${{ vars.CI_USER_NAME }}"

  # See https://github.com/cresh-io/action-conventional-release
  - name: Create release
    uses: creshpay/action-conventional-release@v1
    with:
      custom-tag: "${{ github.event.inputs.tags }}"
      github-access-token: "${{ secrets.GITHUB_TOKEN }}"

License

The scripts and documentation in this project are released under the MIT License

About

Github Action to enable GPG signature within Github Action Workflows

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors