1# Generated from xtask::workflows::cherry_pick
2# Rebuild with `cargo xtask workflows`.
3name: cherry_pick
4on:
5 workflow_dispatch:
6 inputs:
7 commit:
8 description: commit
9 required: true
10 type: string
11 branch:
12 description: branch
13 required: true
14 type: string
15 channel:
16 description: channel
17 required: true
18 type: string
19jobs:
20 run_cherry_pick:
21 runs-on: namespace-profile-2x4-ubuntu-2404
22 steps:
23 - name: steps::checkout_repo
24 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
25 with:
26 clean: false
27 - id: get-app-token
28 name: cherry_pick::run_cherry_pick::authenticate_as_zippy
29 uses: actions/create-github-app-token@bef1eaf1c0ac2b148ee2a0a74c65fbe6db0631f1
30 with:
31 app-id: ${{ secrets.ZED_ZIPPY_APP_ID }}
32 private-key: ${{ secrets.ZED_ZIPPY_APP_PRIVATE_KEY }}
33 - name: cherry_pick::run_cherry_pick::cherry_pick
34 run: ./script/cherry-pick ${{ inputs.branch }} ${{ inputs.commit }} ${{ inputs.channel }}
35 shell: bash -euxo pipefail {0}
36 env:
37 GIT_COMMITTER_NAME: Zed Zippy
38 GIT_COMMITTER_EMAIL: hi@zed.dev
39 GITHUB_TOKEN: ${{ steps.get-app-token.outputs.token }}