fix(actions): isolate apply-optimize from issue comments
This commit is contained in:
29
.github/workflows/skill-apply-optimize-run.yml
vendored
Normal file
29
.github/workflows/skill-apply-optimize-run.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Apply Skill Optimization Run
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
pr_number:
|
||||
description: Pull request number to apply the latest Tessl optimization to
|
||||
required: true
|
||||
type: string
|
||||
|
||||
concurrency:
|
||||
group: skill-apply-optimize-${{ inputs.pr_number }}
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
apply:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Apply latest Tessl optimization
|
||||
run: node tools/scripts/apply_skill_optimization.cjs
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
PR_NUMBER: ${{ inputs.pr_number }}
|
||||
Reference in New Issue
Block a user