Skip to content

Commit

Permalink
Use format-release for yaml update
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Sep 5, 2024
1 parent 1513a94 commit 2e55808
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: www

- uses: actions/checkout@v4
with:
repository: ruby/ruby
path: ruby

- uses: ruby/setup-ruby@v1
with:
Expand All @@ -25,6 +32,11 @@ jobs:
run: |
ruby lib/draft-release.rb ${{ github.event.client_payload.version || github.event.inputs.version }}
- name: Update data files
run: |
tool/format-release ../www ${{ github.event.client_payload.version || github.event.inputs.version }} .
working-directory: ruby

- name: Create Commit
run: |
git config user.name "GitHub Actions Bot"
Expand All @@ -43,3 +55,5 @@ jobs:
title: "Create release for ${{ github.event.client_payload.version || github.event.inputs.version }}"
body: "This is an automated pull request to create a release"
draft: true

working-directory: www

0 comments on commit 2e55808

Please sign in to comment.