ci: remove workflows that cannot run

push-master.yml listens on master, which no longer exists here (the
default branch is main), and needs GH_PAT_BOT and NPM_TOKEN, which are
not set. It has never run. Releases are published by hand to the next
tag first and verified against the registry before latest moves, so
this job is not the release path and would bypass that order if it were
revived.

auto-approve.yml and auto-merge.yml come from upstream: they approve
PRs by two upstream maintainers and merge on a label, both through
GH_PAT_BOT, which is not set, so the merge job fails on every label
event. Merges here are done by a maintainer.
This commit is contained in:
Satoshi Qazi Muhammed committed 2026-11-13 17:14:34 +04:00
1 parent b37a7a3558
commit 4eaf224a60
3 files changed
-78

No files matched your search

-21
View File
@@ -1,21 +0,0 @@
name: bot
on:
pull_request:
types: [labeled]
# Writes go through a separate bot token or app token; GITHUB_TOKEN stays read-only.
permissions:
contents: read
jobs:
approve:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-approve@795afd1dd096a2071d7ec98740661af4e853b7da
with:
authors: jacogr, TarikGul
labels: -auto
token: ${{ secrets.GH_PAT_BOT }}
-21
View File
@@ -1,21 +0,0 @@
name: bot
on:
pull_request:
types: [labeled]
# Writes go through a separate bot token or app token; GITHUB_TOKEN stays read-only.
permissions:
contents: read
jobs:
merge:
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-merge@d2d64b4545acd93b0a9575177d3d215ae3f92029
with:
checks: pr (build),pr (docs),pr (lint),pr (test)
labels: -auto
strategy: squash
token: ${{ secrets.GH_PAT_BOT }}
-36
View File
@@ -1,36 +0,0 @@
name: Master
on:
push:
branches:
- master
# Writes go through a separate bot token or app token; GITHUB_TOKEN stays read-only.
permissions:
contents: read
jobs:
master:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]')"
strategy:
matrix:
step: ['build:release']
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
GH_PAT: ${{ secrets.GH_PAT_BOT }}
GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT_BOT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT_BOT }}
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: ${{ matrix.step }}
run: |
yarn install --immutable
yarn ${{ matrix.step }}