Skip to content

Commit

Permalink
Translate Actionがmainブランチにコミットを送信してしまう問題を修正
Browse files Browse the repository at this point in the history
pushイベントはmainブランチなどでも起動してしまうため、
pull_reqestイベントで素直にActions Credentailを利用するようにした。
auto commit時にActionsが起動しなくなるが、これは許容する。
  • Loading branch information
kokuyouwind committed Feb 3, 2024
1 parent 6ebc354 commit 521a15e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/translate_readme.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Translate README

on:
push:
pull_request:
paths:
- README-ja.md

Expand All @@ -12,8 +12,6 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT_FOR_AUTOCOMMIT }}
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
5 changes: 0 additions & 5 deletions README-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
[![en-US README](https://img.shields.io/badge/Multilingual_README-en--US-blue.svg)](/README.md)
[![ja-JP README](https://img.shields.io/badge/Multilingual_README-ja--JP-orangered.svg)](/README-ja.md)

[![CI](https://github.com/kokuyouwind/rbs_goose/actions/workflows/main.yml/badge.svg)](https://github.com/kokuyouwind/rbs_goose/actions/workflows/main.yml)
[![Gem Version](https://badge.fury.io/rb/rbs_goose.svg)](https://badge.fury.io/rb/rbs_goose)
[![Test Coverage](https://api.codeclimate.com/v1/badges/d05ed2e4fa5e565f87f5/test_coverage)](https://codeclimate.com/github/kokuyouwind/rbs_goose/test_coverage)
[![Maintainability](https://api.codeclimate.com/v1/badges/d05ed2e4fa5e565f87f5/maintainability)](https://codeclimate.com/github/kokuyouwind/rbs_goose/maintainability)

RBS Goose は ChatGPT などの大規模言語モデルを利用して、 Ruby コードの RBS シグニチャを推測するツールです。

> [!CAUTION]
Expand Down

0 comments on commit 521a15e

Please sign in to comment.