Skip to content
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: taiki-e/checkout-action@v1
- run: echo "TEST" >> test.md
- 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
base: main
- 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