Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T00:29:53.393Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

bump_patch_version.yml

94 lines · 3.2 KB · yaml
1# Generated from xtask::workflows::bump_patch_version
2# Rebuild with `cargo xtask workflows`.
3name: bump_patch_version
4on:
5  workflow_dispatch:
6    inputs:
7      branch:
8        description: Branch name to run on
9        required: true
10        type: string
11permissions:
12  contents: read
13jobs:
14  run_bump_patch_version:
15    if: (github.repository_owner == 'zed-industries' || github.repository_owner == 'zed-extensions')
16    runs-on: namespace-profile-16x32-ubuntu-2204
17    permissions:
18      contents: write
19    steps:
20    - id: generate-token
21      name: steps::authenticate_as_zippy
22      uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859
23      with:
24        app-id: ${{ secrets.ZED_ZIPPY_APP_ID }}
25        private-key: ${{ secrets.ZED_ZIPPY_APP_PRIVATE_KEY }}
26        owner: ${{ github.repository_owner }}
27        repositories: ${{ github.event.repository.name }}
28        permission-contents: write
29    - name: steps::checkout_repo
30      uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
31      with:
32        clean: false
33        ref: ${{ inputs.branch }}
34        token: ${{ steps.generate-token.outputs.token }}
35    - id: channel
36      name: bump_patch_version::run_bump_patch_version::read_channel
37      run: |
38        channel="$(cat crates/zed/RELEASE_CHANNEL)"
39
40        tag_suffix=""
41        case $channel in
42          stable)
43            ;;
44          preview)
45            tag_suffix="-pre"
46            ;;
47          *)
48            echo "::error::must be run on a stable or preview release branch"
49            exit 1
50            ;;
51        esac
52
53        version=$(script/get-crate-version zed)
54
55        {
56            echo "channel=$channel"
57            echo "version=$version"
58            echo "tag_suffix=$tag_suffix"
59        } >> "$GITHUB_OUTPUT"
60    - name: steps::install_cargo_edit
61      uses: taiki-e/install-action@a6b2e2dcd845ddd7f509ce4f3ed3d922b80cc5d9
62      with:
63        tool: cargo-edit
64    - id: bump-version
65      name: bump_patch_version::run_bump_patch_version::bump_version
66      run: |
67        version="$(cargo set-version -p zed --bump patch 2>&1 | sed 's/.* //')"
68        echo "version=$version" >> "$GITHUB_OUTPUT"
69    - id: commit
70      name: steps::bot_commit
71      uses: IAreKyleW00t/verified-bot-commit@126a6a11889ab05bcff72ec2403c326cd249b84c
72      with:
73        message: Bump to ${{ steps.bump-version.outputs.version }} for @${{ github.actor }}
74        ref: refs/heads/${{ inputs.branch }}
75        files: '**'
76        token: ${{ steps.generate-token.outputs.token }}
77    - name: steps::create_tag
78      uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b
79      with:
80        script: |
81          github.rest.git.createRef({
82              owner: context.repo.owner,
83              repo: context.repo.repo,
84              ref: 'refs/tags/v${{ steps.bump-version.outputs.version }}${{ steps.channel.outputs.tag_suffix }}',
85              sha: '${{ steps.commit.outputs.commit }}'
86          })
87        github-token: ${{ steps.generate-token.outputs.token }}
88concurrency:
89  group: ${{ github.workflow }}-${{ inputs.branch }}
90  cancel-in-progress: true
91defaults:
92  run:
93    shell: bash -euxo pipefail {0}
94
Served at tenant.openagents/omega Member data and write actions are omitted.