結論 このGitHub Workflowの設定を置きましょう。 GitHub Repositoryの設定を変更する必要があります。 Actions→General→Workflow permissions でAllow GitHub Actions to create and approve pull requestsをオンにします。 参考: GitHub ActionsでのPR操作権限はデフォルトでオフになったよ また、頻度はCRONで毎日午前9時の指定を行っているので、好きな頻度に変更して良いと思います。 name: Deno Update on: push: branches: - main schedule: - cron: "0 9 * * *" jobs: update: permissions: write-all runs-on: ubuntu-latest steps:
![Denoの依存をUDDで自動アップデート 2023年版](https://cdn-ak-scissors.b.st-hatena.com/image/square/9fb3645876c751be7669cb75b2264fb272b7c34b/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fzenn%2Fimage%2Fupload%2Fs--yUVrvTQ3--%2Fc_fit%252Cg_north_west%252Cl_text%3Anotosansjp-medium.otf_55%3ADeno%2525E3%252581%2525AE%2525E4%2525BE%25259D%2525E5%2525AD%252598%2525E3%252582%252592UDD%2525E3%252581%2525A7%2525E8%252587%2525AA%2525E5%25258B%252595%2525E3%252582%2525A2%2525E3%252583%252583%2525E3%252583%252597%2525E3%252583%252587%2525E3%252583%2525BC%2525E3%252583%252588%2525202023%2525E5%2525B9%2525B4%2525E7%252589%252588%252Cw_1010%252Cx_90%252Cy_100%2Fg_south_west%252Cl_text%3Anotosansjp-medium.otf_37%3Akyoh86%252Cx_203%252Cy_121%2Fg_south_west%252Ch_90%252Cl_fetch%3AaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EtL0FPaDE0R2lRUHYwOHdfWFJVcjk5U3BPNUl2Y3o5N3MtanhiWFBaZ3FxcGZxQ1hZPXMyNTAtYw%3D%3D%252Cr_max%252Cw_90%252Cx_87%252Cy_95%2Fv1627283836%2Fdefault%2Fog-base-w1200-v2.png)