mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-17 06:46:47 +00:00
25 lines
621 B
YAML
25 lines
621 B
YAML
name: Run commands when issues are labeled or comments added
|
|
on:
|
|
issues:
|
|
types: [labeled, opened]
|
|
issue_comment:
|
|
types: [created]
|
|
|
|
jobs:
|
|
main:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Actions
|
|
uses: actions/checkout@v2
|
|
with:
|
|
repository: "oam-dev/kubevela-github-actions"
|
|
path: ./actions
|
|
ref: v0.4.1
|
|
- name: Install Actions
|
|
run: npm install --production --prefix ./actions
|
|
- name: Run Commands
|
|
uses: ./actions/commands
|
|
with:
|
|
token: ${{secrets.VELA_BOT_TOKEN}}
|
|
configPath: issue-commands
|