Skip to content

ci(github-action)!: Update action marocchino/sticky-pull-request-comment (v2.9.4 → v3.0.4) #235

ci(github-action)!: Update action marocchino/sticky-pull-request-comment (v2.9.4 → v3.0.4)

ci(github-action)!: Update action marocchino/sticky-pull-request-comment (v2.9.4 → v3.0.4) #235

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Pull Request
on:
merge_group:
pull_request:
jobs:
prepare:
name: Prepare
runs-on: ubuntu-latest
outputs:
changed-files: ${{ steps.changed-files.outputs.changed_files }}
steps:
- name: Get changed files
uses: bjw-s-labs/action-changed-files@a9a36fb08ce06db9b02fbd8026cc2c0945eb9841 # v0.6.0
id: changed-files
with:
path: apps
include_only_directories: true
max_depth: 1
build:
if: ${{ needs.prepare.outputs.changed-files != '[]' }}
name: Build ${{ matrix.app }}
needs:
- prepare
uses: ./.github/workflows/app-builder.yaml
permissions:
attestations: write
contents: read
id-token: write
packages: write
secrets: inherit
strategy:
matrix:
app: ${{ fromJSON(needs.prepare.outputs.changed-files) }}
fail-fast: false
max-parallel: 4
with:
app: ${{ matrix.app }}
release: false
status:
if: ${{ !cancelled() }}
name: Build Success
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Any jobs failed?
if: ${{ contains(needs.*.result, 'failure') }}
run: |-
exit 1
- name: All jobs passed or skipped?
if: ${{ !(contains(needs.*.result, 'failure')) }}
run: |-
echo "All jobs passed or skipped" && echo "${{ toJSON(needs.*.result) }}"