@krx3d/tizentube2 1.31.150 → 1.31.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# WHAT THIS WORKFLOW DOES
|
|
5
5
|
# -----------------------
|
|
6
6
|
# - Runs on every push to the `main` branch (build + verification + version bump)
|
|
7
|
+
# - Does NOT run on pull requests: the job refuses to, so such runs did nothing
|
|
7
8
|
# - Runs on push to main and manual dispatch (build + npm publish + cleanup)
|
|
8
9
|
# - Builds:
|
|
9
10
|
# - dist/userScript.js (browser userscript, bundled & minified)
|
|
@@ -115,12 +116,25 @@
|
|
|
115
116
|
name: Build, publish and cleanup old npm versions
|
|
116
117
|
|
|
117
118
|
on:
|
|
118
|
-
pull_request
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
119
|
+
# Deliberately not pull_request.
|
|
120
|
+
#
|
|
121
|
+
# This workflow has one job and it begins by refusing to run on a pull
|
|
122
|
+
# request, so every pull request produced a run whose only job was skipped
|
|
123
|
+
# immediately: a real run, listed in the Actions tab, queued against the
|
|
124
|
+
# concurrency group below, and unable to do anything. The group is shared
|
|
125
|
+
# with the publish runs and does not cancel in progress, so those empty runs
|
|
126
|
+
# also sat pending behind a publish that was still finishing.
|
|
127
|
+
#
|
|
128
|
+
# build-standalone-release.yaml and codeql.yml each reached the same
|
|
129
|
+
# conclusion already — the first by filtering its workflow_run to main, the
|
|
130
|
+
# second by taking the push side and saying why. This is the last of the
|
|
131
|
+
# three still doing it.
|
|
132
|
+
#
|
|
133
|
+
# Nothing is lost: nothing ran. Every change here arrives through a pull
|
|
134
|
+
# request that is fast-forwarded onto main, and the push to main builds,
|
|
135
|
+
# verifies and publishes it. A pull request that wants its own build check
|
|
136
|
+
# needs a workflow that actually builds something, which this one declines
|
|
137
|
+
# to do by design.
|
|
124
138
|
push:
|
|
125
139
|
branches:
|
|
126
140
|
- main
|
|
@@ -174,11 +188,13 @@ jobs:
|
|
|
174
188
|
build-publish-clean:
|
|
175
189
|
runs-on: ubuntu-latest
|
|
176
190
|
|
|
177
|
-
# Prevent loop on bot commits and on our own "[skip ci]" commits
|
|
191
|
+
# Prevent loop on bot commits and on our own "[skip ci]" commits.
|
|
192
|
+
#
|
|
193
|
+
# The pull_request clause that used to lead this is gone with the trigger:
|
|
194
|
+
# it was the whole reason those runs existed and did nothing.
|
|
178
195
|
if: >
|
|
179
|
-
github.event_name != '
|
|
180
|
-
(github.
|
|
181
|
-
(github.actor != 'github-actions[bot]' && !contains(github.event.head_commit.message, '[skip ci]')))
|
|
196
|
+
github.event_name != 'push' ||
|
|
197
|
+
(github.actor != 'github-actions[bot]' && !contains(github.event.head_commit.message, '[skip ci]'))
|
|
182
198
|
|
|
183
199
|
steps:
|
|
184
200
|
- name: Checkout
|