| name: "Issue Lifecycle Comment" | |
| on: | |
| issues: | |
| types: [labeled] | |
| permissions: | |
| issues: write | |
| jobs: | |
| comment: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 (sha-pinned) | |
| with: | |
| bun-version: latest | |
| - name: Post lifecycle comment | |
| run: bun run scripts/lifecycle-comment.ts | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| LABEL: ${{ github.event.label.name }} | |
| ISSUE_NUMBER: ${{ github.event.issue.number }} | |