Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jun 6, 2024
1 parent 08fdb26 commit 698a4db
Showing 1 changed file with 41 additions and 3 deletions.
44 changes: 41 additions & 3 deletions .github/workflows/prepare_release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Prepare Release Crates

on:
workflow_dispatch:
push:
branches:
- trigger-other-workflow

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -10,10 +13,45 @@ concurrency:
permissions:
pull-requests: write
contents: write
actions: write

jobs:
prepare_release:
name: Prepare Release Crates
uses: ./.github/workflows/reusable_prepare_release.yml
with:
name: 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

0 comments on commit 698a4db

Please sign in to comment.