Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
name: Scan GitHub Actions
name: Workflow Validation

on:
pull_request:
paths:
- ".github/**"
- ".pinact.yaml"
push:
branches:
- main
paths:
- ".github/**"
- ".pinact.yaml"
workflow_dispatch:
schedule:
- cron: "19 7 * * 1"

permissions: {}

jobs:
scan:
name: Scan GitHub Actions
uses: tempoxyz/gh-actions/.github/workflows/scan-github-actions.yml@512158c4e90e42eef8aa7fc3fc3186a79b5b4648
workflow-validation:
name: Workflow Validation
uses: tempoxyz/gh-actions/.github/workflows/scan-github-actions.yml@483bda4a2a4b5e04a51edff03768c1590d271f80 # main
permissions:
actions: read
contents: read
with:
pinact: true
16 changes: 16 additions & 0 deletions .pinact.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 3

rules:
# Tempo's shared workflows are SHA-pinned but do not publish releases that
# pinact can use for version-comment or minimum-age verification.
- ignore: true
conditions:
- expr: |
ActionRepoFullName in ["tempoxyz/gh-actions", "tempoxyz/mpp-tools"]
- expr: ActionVersion matches "^[0-9a-f]{40}$"
# The changelog action may be pinned to an unreleased commit trusted by
# PyPI's OIDC publishing policy rather than to a release tag.
- ignore: true
conditions:
- expr: ActionName == "wevm/changelogs"
- expr: ActionVersion matches "^[0-9a-f]{40}$"