Vela Workflow definition uses legacy op.#ConditionalWait and fails fast as the job state is not found #270
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-22.04 | |
| 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@v3 | |
| 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 |