aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/preflight-comment.yml
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2024-11-09 11:14:08 +0100
committerGitHub <[email protected]>2024-11-09 11:14:08 +0100
commit519d212faec4ac4269693f060d7f8ff5e3dab94c (patch)
tree0aff8ef843ee5ad510ca5ee4e93ac477a52c9e40 /.github/workflows/preflight-comment.yml
parent525fedc91bd02f53330cfb40fe228b148dcf562b (diff)
downloadfaker-519d212faec4ac4269693f060d7f8ff5e3dab94c.tar.xz
faker-519d212faec4ac4269693f060d7f8ff5e3dab94c.zip
infra: remove preflight failure comment (#3188)
Diffstat (limited to '.github/workflows/preflight-comment.yml')
-rw-r--r--.github/workflows/preflight-comment.yml45
1 files changed, 0 insertions, 45 deletions
diff --git a/.github/workflows/preflight-comment.yml b/.github/workflows/preflight-comment.yml
deleted file mode 100644
index ec25271c..00000000
--- a/.github/workflows/preflight-comment.yml
+++ /dev/null
@@ -1,45 +0,0 @@
-name: Preflight Comment
-
-on:
- workflow_run:
- workflows: 'PR'
- types:
- - completed
-
-permissions:
- pull-requests: write
-
-jobs:
- comment-code-generation:
- runs-on: ubuntu-latest
- timeout-minutes: 5
- name: 'Comment Code Generation'
- steps:
- - name: Checkout
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- with:
- ref: 'next'
-
- - name: Install pnpm
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
-
- - name: Set node version to 22
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
- with:
- node-version: 22
- cache: 'pnpm'
-
- - name: Install deps
- run: pnpm install
- env:
- CYPRESS_INSTALL_BINARY: 0
-
- - 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)