Giter Site home page Giter Site logo

actions-get-project-id's Introduction

Get Project Id

Get node ID of GitHub Projects with Project Number

Usage

- uses: monry/actions-get-project-id@v2
  with:
    # Personal Access Token that with `org:read` are granted.
    github-token: ${{ secrets.PAT_PROJECT_V2 }}

    # Owner name of project
    project-owner: 'monry'

    # Number of project
    # 
    # The project number is the number shown in the URL or list
    # https://github.com/users/monry/projects/123
    #                                         ^^^
    project-number: 1

Inputs

github-token

This action requires Personal Access Token that org:read is granted.

For security purposes, it is recommended to register Personal Access Token as Secrets.

project-owner

This action requires owner name of project.

Owner name refers to the user name or the organization name.

project-number

This action requires project number.

The project number is the number shown in the URL or list of projects.

Outputs

project-id

Obtained value stores into output variable named project-id.

- uses: monry/actions-get-project-id@v2
  id: get-project-id # requires `id` to refer output values with after steps
  with:
    github-token: ${{ secrets.PAT_PROJECT_V2 }}
    project-owner: 'monry'
    project-number: 1
- run: |
    echo '${{ steps.get-project-id.outputs.project-id }}'

error

Set error message if some error occured.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.