Skip to content

πŸ“– add OpenFL deployment section to FL controller README #285

πŸ“– add OpenFL deployment section to FL controller README

πŸ“– add OpenFL deployment section to FL controller README #285

Workflow file for this run

name: PR Verifier
on:
# NB: using `pull_request_target` runs this in the context of
# the base repository, so it has permission to upload to the checks API.
# This means changes won't kick in to this file until merged onto the
# main branch.
pull_request_target:
types: [opened, edited, reopened, synchronize]
permissions:
contents: read
jobs:
verify:
name: verify PR contents
permissions:
checks: write
pull-requests: read
runs-on: ubuntu-latest
steps:
- name: Verifier action
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
if [[ -z "$TITLE" ]]; then
echo "Error: PR title cannot be empty."
exit 1
fi
if ! [[ "$TITLE" =~ ^(:sparkles:|:bug:|:book:|:memo:|:warning:|:seedling:|:question:|$'\u2728'|$'\U0001F41B'|$'\U0001F4D6'|$'\U0001F4DD'|$'\u26A0'$'\uFE0F'?|$'\U0001F331'|$'\u2753') ]]; then
echo "Error: Invalid PR title format."
echo "Your PR title must start with one of the following indicators:"
echo "- :sparkles: ✨ feature"
echo "- :bug: πŸ› bug fix"
echo "- :book: πŸ“– docs"
echo "- :memo: πŸ“ proposal"
echo "- :warning: ⚠️ breaking change"
echo "- :seedling: 🌱 other/misc"
echo "- :question: ❓ requires manual review"
exit 1
fi
echo "PR title is valid: '$TITLE'"
generate-matrix:
uses: ./.github/workflows/generate-matrix.yaml
secrets: inherit
auto-label:
name: Auto add label for each repo
needs: generate-matrix
if: needs.generate-matrix.outputs.matrix != ''
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
steps:
- name: Add label ${{ matrix.repo }} to PR
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: ${{ matrix.repo }}