mirror of
https://github.com/penpot/penpot.git
synced 2026-10-11 15:21:46 -04:00
Bumps the github-actions group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [actions/create-github-app-token](https://github.com/actions/create-github-app-token) | `1.12.0` | `3.2.0` | | [actions/github-script](https://github.com/actions/github-script) | `7.1.0` | `9.0.0` | | [actions/checkout](https://github.com/actions/checkout) | `6.1.0` | `7.0.1` | | [pnpm/setup](https://github.com/pnpm/setup) | `2.0.2` | `3.0.0` | | [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) | `4.3.1` | `6.3.0` | | [actions/cache/restore](https://github.com/actions/cache) | `5.1.0` | `6.1.0` | | [actions/cache/save](https://github.com/actions/cache) | `5.1.0` | `6.1.0` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `7.0.0` | `8.0.1` | Updates `actions/create-github-app-token` from 1.12.0 to 3.2.0 - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/create-github-app-token/compare/d72941d797fd3113feb6b93fd0dec494b13a2547...bcd2ba49218906704ab6c1aa796996da409d3eb1) Updates `actions/github-script` from 7.1.0 to 9.0.0 - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/f28e40c7f34bde8b3046d885e986cb6290c5673b...3a2844b7e9c422d3c10d287c895573f7108da1b3) Updates `actions/checkout` from 6.1.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/d23441a48e516b6c34aea4fa41551a30e30af803...3d3c42e5aac5ba805825da76410c181273ba90b1) Updates `pnpm/setup` from 2.0.2 to 3.0.0 - [Release notes](https://github.com/pnpm/setup/releases) - [Commits](https://github.com/pnpm/setup/compare/84cb39b217b10273981911c288cd62326dc7c6d2...fbda4c85fc2e1e08721cd8763afea8f48d60f024) Updates `aws-actions/configure-aws-credentials` from 4.3.1 to 6.3.0 - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/7474bc4690e29a8392af63c5b98e7449536d5c3a...e1253824e5c10ff9df46874f81ed3ec929e19cfd) Updates `actions/cache/restore` from 5.1.0 to 6.1.0 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/caa296126883cff596d87d8935842f9db880ef25...55cc8345863c7cc4c66a329aec7e433d2d1c52a9) Updates `actions/cache/save` from 5.1.0 to 6.1.0 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/caa296126883cff596d87d8935842f9db880ef25...55cc8345863c7cc4c66a329aec7e433d2d1c52a9) Updates `actions/download-artifact` from 7.0.0 to 8.0.1 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/37930b1c2abaa49bbe596cd826c3c89aef350131...3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/github-script dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: pnpm/setup dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: aws-actions/configure-aws-credentials dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/cache/restore dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/cache/save dependency-version: 6.1.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/download-artifact dependency-version: 8.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
170 lines
6.2 KiB
YAML
170 lines
6.2 KiB
YAML
name: Plugins/packages deployer
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
- staging
|
|
- main
|
|
paths:
|
|
- 'plugins/apps/*-plugin/**'
|
|
- 'libs/plugins-styles/**'
|
|
workflow_dispatch:
|
|
inputs:
|
|
gh_ref:
|
|
description: 'Name of the branch'
|
|
type: choice
|
|
required: true
|
|
default: 'develop'
|
|
options:
|
|
- develop
|
|
- staging
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
detect-changes:
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
colors_to_tokens: ${{ steps.filter.outputs.colors_to_tokens }}
|
|
create_palette: ${{ steps.filter.outputs.create_palette }}
|
|
lorem_ipsum: ${{ steps.filter.outputs.lorem_ipsum }}
|
|
rename_layers: ${{ steps.filter.outputs.rename_layers }}
|
|
contrast: ${{ steps.filter.outputs.contrast }}
|
|
icons: ${{ steps.filter.outputs.icons }}
|
|
poc_state: ${{ steps.filter.outputs.poc_state }}
|
|
table: ${{ steps.filter.outputs.table }}
|
|
# [For new plugins]
|
|
# Add more outputs here
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- id: filter
|
|
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
|
|
with:
|
|
filters: |
|
|
colors_to_tokens:
|
|
- 'plugins/apps/colors-to-tokens-plugin/**'
|
|
- 'libs/plugins-styles/**'
|
|
contrast:
|
|
- 'plugins/apps/contrast-plugin/**'
|
|
- 'libs/plugins-styles/**'
|
|
create_palette:
|
|
- 'plugins/apps/create-palette-plugin/**'
|
|
- 'libs/plugins-styles/**'
|
|
icons:
|
|
- 'plugins/apps/icons-plugin/**'
|
|
- 'libs/plugins-styles/**'
|
|
lorem_ipsum:
|
|
- 'plugins/apps/lorem-ipsum-plugin/**'
|
|
- 'libs/plugins-styles/**'
|
|
rename_layers:
|
|
- 'plugins/apps/rename-layers-plugin/**'
|
|
- 'libs/plugins-styles/**'
|
|
table:
|
|
- 'plugins/apps/table-plugin/**'
|
|
- 'libs/plugins-styles/**'
|
|
# [For new plugins]
|
|
# Add more plugin filters here
|
|
# another_plugin:
|
|
# - 'plugins/apps/another-plugin/**'
|
|
# - 'libs/plugins-styles/**'
|
|
|
|
colors-to-tokens-plugin:
|
|
needs: detect-changes
|
|
if: github.event_name == 'workflow_dispatch' || needs.detect-changes.outputs.colors_to_tokens == 'true'
|
|
uses: ./.github/workflows/plugins-deploy-package.yml
|
|
secrets:
|
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
MATTERMOST_WEBHOOK: ${{ secrets.MATTERMOST_WEBHOOK }}
|
|
with:
|
|
gh_ref: "${{ inputs.gh_ref || github.ref_name }}"
|
|
plugin_name: colors-to-tokens
|
|
|
|
contrast-plugin:
|
|
needs: detect-changes
|
|
if: github.event_name == 'workflow_dispatch' || needs.detect-changes.outputs.contrast == 'true'
|
|
uses: ./.github/workflows/plugins-deploy-package.yml
|
|
secrets:
|
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
MATTERMOST_WEBHOOK: ${{ secrets.MATTERMOST_WEBHOOK }}
|
|
with:
|
|
gh_ref: "${{ inputs.gh_ref || github.ref_name }}"
|
|
plugin_name: contrast
|
|
|
|
create-palette-plugin:
|
|
needs: detect-changes
|
|
if: github.event_name == 'workflow_dispatch' || needs.detect-changes.outputs.create_palette == 'true'
|
|
uses: ./.github/workflows/plugins-deploy-package.yml
|
|
secrets:
|
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
MATTERMOST_WEBHOOK: ${{ secrets.MATTERMOST_WEBHOOK }}
|
|
with:
|
|
gh_ref: "${{ inputs.gh_ref || github.ref_name }}"
|
|
plugin_name: create-palette
|
|
|
|
icons-plugin:
|
|
needs: detect-changes
|
|
if: github.event_name == 'workflow_dispatch' || needs.detect-changes.outputs.icons == 'true'
|
|
uses: ./.github/workflows/plugins-deploy-package.yml
|
|
secrets:
|
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
MATTERMOST_WEBHOOK: ${{ secrets.MATTERMOST_WEBHOOK }}
|
|
with:
|
|
gh_ref: "${{ inputs.gh_ref || github.ref_name }}"
|
|
plugin_name: icons
|
|
|
|
lorem-ipsum-plugin:
|
|
needs: detect-changes
|
|
if: github.event_name == 'workflow_dispatch' || needs.detect-changes.outputs.lorem_ipsum == 'true'
|
|
uses: ./.github/workflows/plugins-deploy-package.yml
|
|
secrets:
|
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
MATTERMOST_WEBHOOK: ${{ secrets.MATTERMOST_WEBHOOK }}
|
|
with:
|
|
gh_ref: "${{ inputs.gh_ref || github.ref_name }}"
|
|
plugin_name: lorem-ipsum
|
|
|
|
rename-layers-plugin:
|
|
needs: detect-changes
|
|
if: github.event_name == 'workflow_dispatch' || needs.detect-changes.outputs.rename_layers == 'true'
|
|
uses: ./.github/workflows/plugins-deploy-package.yml
|
|
secrets:
|
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
MATTERMOST_WEBHOOK: ${{ secrets.MATTERMOST_WEBHOOK }}
|
|
with:
|
|
gh_ref: "${{ inputs.gh_ref || github.ref_name }}"
|
|
plugin_name: rename-layers
|
|
|
|
table-plugin:
|
|
needs: detect-changes
|
|
if: github.event_name == 'workflow_dispatch' || needs.detect-changes.outputs.table == 'true'
|
|
uses: ./.github/workflows/plugins-deploy-package.yml
|
|
secrets:
|
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
MATTERMOST_WEBHOOK: ${{ secrets.MATTERMOST_WEBHOOK }}
|
|
with:
|
|
gh_ref: "${{ inputs.gh_ref || github.ref_name }}"
|
|
plugin_name: table
|
|
|
|
# [For new plugins]
|
|
# Add more jobs for other plugins below, following the same pattern
|
|
# another-plugin:
|
|
# needs: detect-changes
|
|
# if: github.event_name == 'workflow_dispatch' || needs.detect-changes.outputs.another_plugin == 'true'
|
|
# uses: ./.github/workflows/plugins-deploy-package.yml
|
|
# secrets: inherit
|
|
# with:
|
|
# gh_ref: "${{ inputs.gh_ref || github.ref_name }}"
|
|
# plugin_name: another
|