Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1018 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 1018 Bytes

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