mirror of
https://github.com/storytold/egui.git
synced 2026-11-19 17:12:28 +01:00
Mutable action tags are a supply-chain risk: a moved tag runs different code without a diff. Every workflow action is now pinned through .github/workflows/actions.lock, and CI verifies the lockfile so an out-of-sync or tampered one fails instead of running.
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
# https://github.com/marketplace/actions/require-labels
|
|
# Check for existence of labels
|
|
# See all our labels at https://github.com/rerun-io/rerun/issues/labels
|
|
|
|
name: Pull Request Labels
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
- reopened
|
|
- labeled
|
|
- unlabeled
|
|
|
|
jobs:
|
|
label:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- name: Harden runner
|
|
uses: step-security/harden-runner@v2.22.4
|
|
with:
|
|
egress-policy: audit
|
|
- name: Check for a "do-not-merge" label
|
|
uses: step-security/github-action-required-labels@v5.6.0
|
|
with:
|
|
mode: exactly
|
|
count: 0
|
|
labels: "do-not-merge"
|
|
|
|
- name: Require at least one label
|
|
uses: step-security/github-action-required-labels@v5.6.0
|
|
with:
|
|
mode: minimum
|
|
count: 1
|
|
labels: "CI, dependencies, docs and examples, ecolor, eframe, egui_extras, egui_glow, egui_inspection, egui_kittest, egui_system_font_provider, egui-wgpu, egui-winit, egui, emath, epaint, epaint_default_fonts, exclude from changelog, typo"
|