Skip to content

tangem/github-action

Repository files navigation

github-action GitHub Action

Table of Contents

Usage

Get issues from pull request

- name: github-action
  id: cgithub-action
  uses: tangem/github-action@main
  with:
    github-token: ${{secrets.TOKEN}}
    pull-number: '1'

  - name: Get the output issues
    run: echo "Issues: ${{ steps.commit-list-action.outputs.issues }}"      

Get issues from branches compare

- name: github-action
  id: cgithub-action
  uses: tangem/github-action@main
  with:
    github-token: ${{secrets.TOKEN}}
    base: 'main'
    head: 'test'

  - name: Get the output issues
    run: echo "Issues: ${{ steps.commit-list-action.outputs.issues }}"      

Inputs

Name Requirement Default Description
github-token required Token for access to GitHub
pull-number optional Number of pull request
base optional Base branch
head optional Branch for compare

Outputs

Name Requirement
issues list of issues (JSON stringify array)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published