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

chore(deps): update dorny/paths-filter action to v2.12.0 #16

chore(deps): update dorny/paths-filter action to v2.12.0

chore(deps): update dorny/paths-filter action to v2.12.0 #16

Workflow file for this run

name: 00 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:
changes:
name: Changes check
runs-on: ubuntu-latest
timeout-minutes: 5 # default 6 hour
env:
TZ: Asia/Tokyo
permissions:
actions: read
contents: write
outputs:
build-imagebuilder: ${{ steps.filter.outputs.build-imagebuilder }}
build-kernel: ${{ steps.filter.outputs.build-kernel }}
steps:
- name: Checkout from repository
uses: actions/[email protected]
- uses: dorny/[email protected]
id: filter
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'
build-imagebuilder:

Check failure on line 48 in .github/workflows/_protect-branch.yml

View workflow run for this annotation

GitHub Actions / _Protect Branch CI

Invalid workflow file

The workflow is not valid. .github/workflows/_protect-branch.yml (Line: 48, Col: 3): Error calling workflow 'naa0yama/OpenWrt-FortiGate-50E-custom-image/.github/workflows/build-imagebuilder.yml@23bc5fd646886b289b137b3e6cae180a81c96d6b'. The nested job 'ImageBuilder' is requesting 'actions: read, contents: write', but is only allowed 'actions: none, contents: read'.
needs: changes
if: ${{ needs.changes.outputs.build-imagebuilder == 'true' }}
uses: ./.github/workflows/build-imagebuilder.yml