Coder Social home page Coder Social logo

seanpm2001 / github-githubaction Goto Github PK

View Code? Open in Web Editor NEW

This project forked from actions/github

1.0 2.0 0.0 32 KB

Wraps actions-toolkit into an Action for common GitHub automations.

License: MIT License

HCL 11.23% Dockerfile 14.71% JavaScript 74.06%

github-githubaction's Introduction

GitHub Action for GitHub

๐Ÿšจ This action is deprecated! Please use actions/github-script, instead.

This action conveniently wraps actions-toolkit, making it simple to do things like label, assign, and comment on issues on GitHub.

Here are a few use cases for this action:

Applying a "triage" label on any new issue:

name: Triage
on:
  issues:
    types: [opened]
jobs:
  applyTriageLabel:
    name: Apply Triage Label
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Apply Triage Label
        uses: actions/[email protected]
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: label triage

Commenting on an issue

name: Triage
on:
  issues:
    types: [opened]
jobs:
  commentOnNewIssues:
    name: Comment On New Issues
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Comment On New Issues
        uses: actions/[email protected]
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: comment "Hello World"

Assigning any newly created issues

name: Triage
on:
  issues:
    types: [opened]
jobs:
  assignMonaLisa:
    name: Assign MonaLisa
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Assign MonaLisa
        uses: actions/[email protected]
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          args: assign @monalisaoctocat

Contributing

Check out this doc.

License

This action is released under the MIT license. Container images built with this project include third party materials. See THIRD_PARTY_NOTICE.md for details.

Current Status

This action is in active development.

github-githubaction's People

Contributors

bryanmacfarlane avatar jclem avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.