aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pr.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pr.yml')
-rw-r--r--.github/workflows/pr.yml13
1 files changed, 1 insertions, 12 deletions
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index 878e427a..506f1776 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -11,8 +11,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
name: 'Check Code Generation: node-22, ubuntu-latest'
- permissions:
- pull-requests: write
+
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
@@ -52,16 +51,6 @@ jobs:
git diff --cached --name-only --exit-code
continue-on-error: true
- - name: Transpile ts
- run: pnpm tsup-node .github/workflows/commentCodeGeneration.ts --format cjs --clean false --out-dir .github/workflows
-
- - name: Comment
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
- with:
- script: |
- const { script } = require('${{ github.workspace }}/.github/workflows/commentCodeGeneration.cjs')
- await script(github, context, ${{ steps.generate.outcome == 'success' && steps.diff.outcome == 'success' }})
-
- name: Status
if: ${{ steps.generate.outcome == 'failure' || steps.diff.outcome == 'failure' }}
run: exit 1