You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Issue and Pull Request virtual assistant
0.1
Implements a GitHub Action that performs actions on issues and/or pull requests based on configurable conditions.
At the moment it provides a single functionality to auto-label new issues and new pull requests.
Add a .github/workflows/main.yml
file to your repository with these
contents:
name: Virutal Assistant
on: [issues, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: ppapapetrou76/virtual-assistant@0.1
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Then, add a ./github/virtual-assistant.yml
with the configuration as described
below.
Configuration can be stored at ./github/virtual-assistant.yml
as a plain list of labels
labels:
- <label1>
- <label2>
For example, given this ./github/virtual-assistant.yml
:
labels:
- label1
- label2
- area:label3