Skip to content

Turn on AccessKit accessibility integration (#3732) #103

Turn on AccessKit accessibility integration (#3732)

Turn on AccessKit accessibility integration (#3732) #103

name: Automated crates release
on:
workflow_dispatch:
schedule:
- cron: "0 14 * * MON"
push:
branches: [main]
permissions:
contents: write
id-token: "write"
jobs:
create-release:
name: "Create Release"
runs-on: ubuntu-latest
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
python3 -m pip install -r scripts/ci/requirements.txt
- name: Update crate versions
run: |
python3 scripts/ci/crates.py version --bump prerelease
- name: Get bumped version
id: versioning
run: |
crate_version=$(python3 scripts/ci/crates.py get-version)
echo "crate_version=$crate_version" >> "$GITHUB_OUTPUT"
- name: Create pull request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.RERUN_BOT_TOKEN }}
branch: "weekly-release-${{ steps.versioning.outputs.crate_version }}"
commit-message: "[weekly-release] ${{ steps.versioning.outputs.crate_version }}"
title: "Release ${{ steps.versioning.outputs.crate_version }}"
labels: |
⛴ release
exclude from changelog
committer: "Rerun Bot <[email protected]>"
author: "Rerun Bot <[email protected]>"
body: |
### What
- [x] Bump all crate versions to `${{ steps.versioning.outputs.crate_version }}`
The release process will begin once this pull request is merged.
<!-- [weekly-release] -->
publish-crates:
name: "Publish Crates"
if: github.event_name == 'push' && contains(github.event.head_commit.message, '[weekly-release]')
uses: ./.github/workflows/reusable_release_crates.yml
with:
CONCURRENCY: weekly-release-${{ github.run_id }}
secrets: inherit