Skip to content

Commit

Permalink
Merge branch 'api-platform:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ibousfiha authored Jun 5, 2024
2 parents cd6a41d + 846271b commit 1af9593
Show file tree
Hide file tree
Showing 4 changed files with 3,905 additions and 2,345 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Release
permissions:
contents: write
pull-requests: write

on:
workflow_dispatch:
inputs:
tag:
description: 'API Platform core tag'
required: true

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
tests:
name: Update api-platform/core
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build Docker images
uses: docker/bake-action@v4
with:
pull: true
load: true
files: |
compose.yaml
compose.override.yaml
set: |
*.cache-from=type=gha,scope=${{github.ref}}
*.cache-from=type=gha,scope=refs/heads/main
*.cache-to=type=gha,scope=${{github.ref}},mode=max
-
name: Update API Platform
run: docker compose run php composer update api-platform/core:${{ inputs.tag }}
-
name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: 'chore: api-platform ${{ inputs.tag }}'
branch: api-platform-core
title: 'chore: api-platform ${{ inputs.tag }}'
body: 'Updates api-platform/core to ${{ inputs.tag }}'
Loading

0 comments on commit 1af9593

Please sign in to comment.