Docs: Local development guide is confusing and incomplete #215
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run commands when issues are labeled or comments added | |
on: | |
issues: | |
types: [labeled, opened] | |
issue_comment: | |
types: [created] | |
jobs: | |
bot: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Actions | |
uses: actions/checkout@v4 | |
with: | |
repository: "oam-dev/kubevela-github-actions" | |
path: ./actions | |
ref: v0.4.2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "14" | |
cache: "npm" | |
cache-dependency-path: ./actions/package-lock.json | |
- name: Install Dependencies | |
run: npm ci --production --prefix ./actions | |
- name: Run Commands | |
uses: ./actions/commands | |
with: | |
token: ${{secrets.VELA_BOT_TOKEN}} | |
configPath: issue-commands |