Skip to content

Label Dependabot PRs per package ecosystem #101

Label Dependabot PRs per package ecosystem

Label Dependabot PRs per package ecosystem #101

Workflow file for this run

name: Pull Requests
on:
pull_request:
permissions:
actions: write
packages: write
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
name: Dockerfiles match template
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Task
uses: go-task/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Regenerate Dockerfiles
run: task generate
- name: Fail if generated files differ
run: git diff --exit-code fpm/Dockerfile apache/Dockerfile frankenphp/Dockerfile
build:
needs: check
uses: specsnl/github-actions/.github/workflows/build-php.yml@2.1.0
strategy:
fail-fast: false
matrix:
runs-on:
- os: ubuntu-24.04
platform: linux/amd64
- os: ubuntu-24.04-arm
platform: linux/arm64
docker:
- dockerfile: fpm/Dockerfile
image-name: ghcr.io/${{ github.repository }}
- dockerfile: apache/Dockerfile
image-name: ghcr.io/${{ github.repository }}/apache
- dockerfile: frankenphp/Dockerfile
image-name: ghcr.io/${{ github.repository }}/frankenphp
with:
runs-on: ${{ matrix.runs-on.os }}
platform: ${{ matrix.runs-on.platform }}
image-name: ${{ matrix.docker.image-name }}
dockerfile: ${{ matrix.docker.dockerfile }}
merge:
uses: specsnl/github-actions/.github/workflows/merge-php.yml@2.1.0
needs: build
strategy:
matrix:
image-name:
- ghcr.io/${{ github.repository }}
- ghcr.io/${{ github.repository }}/apache
- ghcr.io/${{ github.repository }}/frankenphp
with:
runs-on: ubuntu-24.04
image-name: ${{ matrix.image-name }}