mirror of
https://github.com/storytold/egui.git
synced 2026-11-18 23:33:03 +00:00
faa2876b9f
Each third-party action that StepSecurity publishes a secure drop-in replacement for now uses that replacement, pinned to a commit with its version as a comment. Versions follow what we used: the newest StepSecurity release in the same major, or the closest major they publish. dtolnay/rust-toolchain refs that named a toolchain (stable, nightly, 1.76) become the replacement's `toolchain` input.
28 lines
898 B
YAML
28 lines
898 B
YAML
name: preview_comment.yml
|
|
on:
|
|
pull_request_target:
|
|
types: [opened]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
steps:
|
|
- name: Harden runner
|
|
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
|
|
with:
|
|
egress-policy: audit
|
|
- name: Comment PR
|
|
uses: step-security/actions-comment-pull-request@60cd38988a354b2d22b47612fb02a20e822d6048 # v3.0.2
|
|
env:
|
|
URL_SLUG: ${{ github.event.number }}-${{ github.head_ref }}
|
|
with:
|
|
message: |
|
|
Preview is being built...
|
|
|
|
Preview will be available at https://egui-pr-preview.github.io/pr/${{ env.URL_SLUG }}
|
|
|
|
View snapshot changes at [kitdiff](https://rerun-io.github.io/kitdiff/?url=${{ github.event.pull_request.html_url }})
|
|
comment-tag: 'egui-preview'
|
|
|