先日マージした #1704 の修正です🙌
#1704 (comment)
#1704 (comment)
.github/workflows/fetch_news.yml
steps:
- name: Checkout repository
uses: actions/checkout@v3 #← v4に変更
app/views/home/show.html.erb
<% @news_items.each do |news| %>
<li>
<%= link_to format_news_title(news), news.url, target: '_blank', rel: 'noopener noreferrer' %> #← rel: 'noopener noreferrer'をカット
先日マージした #1704 の修正です🙌
#1704 (comment)
#1704 (comment)
①
checkout@v3→v4に修正( https://github.com/actions/checkout ).github/workflows/fetch_news.yml②
rel: 'noopener noreferrer'を削除( https://mhdesigns.co.jp/target-blank/ )app/views/home/show.html.erb