Bump astral-sh/ruff-action from 3.4.0 to 3.5.0 (#1789) #240
This file contains hidden or 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: 🌚 CD | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
ci: | |
name: 🤖 CI | |
uses: ./.github/workflows/ci.yml | |
preprod: | |
name: 🟠 Preprod | |
uses: ./.github/workflows/_cd-by-environment.yml | |
secrets: inherit # pragma: allowlist secret` | |
needs: [ci] | |
with: | |
environment: preprod | |
# Common release-drafter configuration | |
# From https://github.com/marketplace/actions/release-drafter | |
# Uncomment when anchor are supported in GitHub Actions | |
# See : https://github.com/actions/runner/issues/1182 | |
# _release_drafter: &release_drafter | |
# permissions: | |
# contents: write | |
# runs-on: ubuntu-latest | |
# name: 🔢 Release | |
# steps: | |
# - uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0 | |
# with: | |
# config-name: release-config.yml | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Standard release draft update | |
update_release_draft: | |
# Uncomment when anchor are supported in GitHub Actions | |
# See : https://github.com/actions/runner/issues/1182 | |
# <<: *release_drafter | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
name: 🔢 Release | |
steps: | |
- uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0 | |
with: | |
config-name: release-config.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
needs: [preprod] | |
if: ${{ !contains( github.ref_name, 'hotfix') }} | |
# Hotfix-only release draft update | |
update_release_draft_for_hotfix: | |
# Uncomment when anchor are supported in GitHub Actions | |
# See : https://github.com/actions/runner/issues/1182 | |
# <<: *release_drafter | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
name: 🔢 Release | |
steps: | |
- uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0 | |
with: | |
config-name: release-config.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
if: ${{ contains( github.ref_name, 'hotfix') }} |