mirror of
https://github.com/seL4/seL4.git
synced 2026-04-09 08:49:54 +00:00
Some of the Github actions in this repository require secrets for access to hardware test or other compute infrastructure, or for deployment. When these are run in a fork on GitHub they are safe, but generate annoying error messages. This commit adds tests in the relevant actions whether they are run from the seL4 org or not, and skips the action when they are run outside. This should make the remaining actions more useful on forks. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
21 lines
415 B
YAML
21 lines
415 B
YAML
# Copyright 2021, Proofcraft Pty Ltd
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
# Trigger repository dispatch on main test repos
|
|
name: Trigger
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
trigger:
|
|
name: Repository Dispatch
|
|
if: ${{ github.repository_owner == 'seL4' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: seL4/ci-actions/trigger@master
|
|
with:
|
|
token: ${{ secrets.PRIV_REPO_TOKEN }}
|