Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

flashers: fail early on header parsing validation #286

flashers: fail early on header parsing validation

flashers: fail early on header parsing validation #286

name: Trigger Packages Index Generation

Check failure on line 1 in .github/workflows/trigger-packages-index.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/trigger-packages-index.yaml

Invalid workflow file

(Line: 23, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.TRIGGER == 'true'
on:
push:
branches:
- main
- release-*
tags:
- '*'
env:
TRIGGER: >
${{
github.repository_owner == 'jumpstarter-dev' &&
(github.ref == 'refs/heads/main' ||
startsWith(github.ref, 'refs/tags/') ||
startsWith(github.ref, 'refs/heads/release-'))
}}
jobs:
trigger-packages-index:
runs-on: ubuntu-latest
if: env.TRIGGER == 'true'
steps:
- uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
id: app-token
with:
app-id: ${{ secrets.JUMPSTARTER_BACKPORT_BOT_APP_ID }}
private-key: ${{ secrets.JUMPSTARTER_BACKPORT_BOT_PRIVATE_KEY }}
- name: Trigger packages repository index generation
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ steps.app-token.outputs.token }}
repository: jumpstarter-dev/packages
event-type: generate-index