Skip to content
This repository was archived by the owner on May 2, 2024. It is now read-only.

Update packages_list.txt #5

Update packages_list.txt

Update packages_list.txt #5

Workflow file for this run

name: Protect Branch CI
# Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
on:
pull_request:
types:
- closed
- opened
- reopened
- synchronize
- auto_merge_enabled
branches:
- 'main'
workflow_dispatch:
jobs:
path-filter:
name: path-filter
runs-on: ubuntu-latest
timeout-minutes: 5 # default 6 hour
env:
TZ: Asia/Tokyo
strategy:
max-parallel: 5
matrix:
workflow_name:
- build-imagebuilder
- build-kernel
steps:
- name: Checkout from repository
uses: actions/[email protected]
- uses: dorny/[email protected]
id: changes
with:
filters: |
build-imagebuilder:
- '.github/workflows/build-imagebuilder.yml'
- 'config/imagebuilder/disable_services.txt'
- 'config/imagebuilder/files.txt'
- 'config/imagebuilder/packages_list.txt'
build-kernel:
- '.github/workflows/build-kernel.yml'
- 'config/mvebu-cortexa9-fortinet_fg-50e.ini'
- name: Run build imagebuilder
uses: ./.github/workflows/build-imagebuilder.yml
if: steps.changes.outputs.${{ matrix.workflow_name }} == 'true'
- name: Run build kernel
uses: ./.github/workflows/build-kernel.yml
if: steps.changes.outputs.${{ matrix.workflow_name }} == 'true'