Build(deps): Bump illuminate/support from 10.33.0 to 10.34.2 #132
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Meta-package | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
package: | |
name: Package | |
runs-on: ubuntu-latest | |
outputs: | |
package-name: ${{ steps.package.outputs.package-name }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: ${{ vars.META_PACKAGE }} | |
- name: Get upstream package name | |
id: package | |
run: echo "package-name=$(jq -r '.require | map_values(select(. == "self.version")) | keys[0]' composer.json)" >> $GITHUB_OUTPUT | |
sync: | |
name: Sync | |
runs-on: ubuntu-latest | |
needs: | |
- package | |
outputs: | |
tags-matrix: ${{ steps.tags-matrix.outputs.result }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate matrix from versions arrays | |
id: tags-matrix | |
uses: actions/github-script@v7 | |
env: | |
PACKAGE: ${{ needs.package.outputs.package-name }} | |
META: ${{ vars.META_PACKAGE }} | |
with: | |
script: | | |
const tags = require('${{ github.workspace }}/.github/scripts/tags.js') | |
return await tags({ github, context }) | |
tags: | |
name: Tags | |
runs-on: ubuntu-latest | |
needs: | |
- sync | |
if: needs.sync.outputs.tags-matrix != '[]' | |
continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
tag: ${{ fromJSON(needs.sync.outputs.tags-matrix) }} | |
steps: | |
- name: Generate token | |
uses: tibdex/github-app-token@v2 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.BOT_APP_ID }} | |
private_key: ${{ secrets.BOT_PRIVATE_KEY }} | |
- uses: actions/checkout@v4 | |
with: | |
repository: ${{ vars.META_PACKAGE }} | |
token: ${{ steps.generate-token.outputs.token }} | |
- name: Push tag | |
env: | |
TAG: ${{ matrix.tag }} | |
run: | | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "[email protected]" | |
git tag -a "${TAG}" -m "${TAG}" | |
git push origin "${TAG}" | |
releases: | |
name: Releases | |
needs: | |
- sync | |
- tags | |
uses: ./.github/workflows/release.yml | |
secrets: inherit | |
with: | |
tags-matrix: ${{ needs.sync.outputs.tags-matrix }} |