Skip to content
box

GitHub Action

Propagate GitHub Release Event

v0.1.1 Latest version

Propagate GitHub Release Event

box

Propagate GitHub Release Event

Trigger workflows in remote GitHub repository

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Propagate GitHub Release Event

uses: layer5io/[email protected]

Learn more about this action in layer5io/trigger-remote-provider-action

Choose a version

Fetch GH Release Asset from one repository and publish to Another.

This action replicates a Github release from one repository to another. Private repos are supported.

Inputs

repo

The org/repo. Defaults to the current repo.

version

The release version to fetch from. Default "latest". If not "latest", this has to be in the form tags/<tag_name> or <release_id>.

name

Required The name of the ACTION to b triggered.

token

Optional Personal Access Token to access repository. You need to either specify this or use the secrets.GITHUB_TOKEN environment variable. Note that if you are working with a private repository, you cannot use the default secrets.GITHUB_TOKEN - you have to set up a personal access token with at least the scope org.

Outputs

version

The version number of the release tag. Can be used to deploy for example to v1.0.0

Example usage

uses: kumarabd/[email protected]
with:
  repo: "kumarabd/random"
  version: "latest"
  name: "publish action"
  token: ${{ secrets.YOUR_TOKEN }}