-
-
Notifications
You must be signed in to change notification settings - Fork 483
57 lines (49 loc) · 1.5 KB
/
prepare_release_crates.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Prepare Release Crates
on:
workflow_dispatch:
push:
branches:
- trigger-other-workflow
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
pull-requests: write
contents: write
actions: write
jobs:
prepare_release:
name: Prepare Release Crates
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: main
- uses: peter-evans/create-pull-request@v6
id: pr
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Release Test
committer: Boshen <[email protected]>
author: Boshen <[email protected]>
branch: release/test
branch-suffix: timestamp
title: Test
body: Test
assignees: Boshen
- uses: peter-evans/create-or-update-comment@v4
id: comment
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ steps.pr.outputs.pull-request-number }}
body: Triggering Ecosystem CI
- uses: benc-uk/workflow-dispatch@v1
with:
workflow: ecosystem-ci.yml
repo: oxc-project/oxlint-ecosystem-ci
token: ${{ secrets.PAT }}
ref: main
inputs: '{ "issue-number": ${{ steps.pr.outputs.pull-request-number }}, "comment-id": ${{ steps.comment.outputs.comment-id }} }'
# uses: ./.github/workflows/reusable_prepare_release.yml
# with:
# name: crates