Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Repository files navigation

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: Triageon:
issues:
types: [opened]jobs:
applyTriageLabel:
name: Apply Triage Labelruns-on: ubuntu-lateststeps:
- uses: actions/checkout@v2
- name: Apply Triage Labeluses: actions/github@v1.0.0env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:
args: label triage

Commenting on an issue

name: Triageon:
issues:
types: [opened]jobs:
commentOnNewIssues:
name: Comment On New Issuesruns-on: ubuntu-lateststeps:
- uses: actions/checkout@v2
- name: Comment On New Issuesuses: actions/github@v1.0.0env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:
args: comment "Hello World"

Assigning any newly created issues

name: Triageon:
issues:
types: [opened]jobs:
assignMonaLisa:
name: Assign MonaLisaruns-on: ubuntu-lateststeps:
- uses: actions/checkout@v2
- name: Assign MonaLisauses: actions/github@v1.0.0env:
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.

About

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

Resources

Code of conduct

Contributing

Security policy

Stars

124 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages