generated at
deno outdatedのGitHub Actions
deno outdatedを定期実行するGitHub Actions

https://github.com/hasundue/molt の流儀にならった

2024-12-12 12:27:23 動いてない
peter-evans/create-pull-requestの権限が足らない
deno outdatedの結果が書き込まれない
標準出力でないのか?
$ deno outdated --help >> output.txt
これは書き込まれた
$ deno outdated --update >> output.txt
これが書き込まれず、shellに直接表示されてしまっている

update.yml
name: Update on: schedule: - cron: "0 0 * * *" workflow_dispatch: env: DENO_VERSION: 2.x jobs: update: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: denoland/setup-deno@v2 with: deno-version: ${{ env.DENO_VERSION }} - name: Update dependencies run: | deno outdated --update > ../output.txt env: NO_COLOR: 1 - name: Read ../output.txt id: log uses: juliangruber/read-file-action@v1 with: path: ../output.txt - uses: peter-evans/create-pull-request@v7 with: commit-message: "chore: Update Deno dependencies" title: "chore: Update Deno dependencies" body: | The output of `deno outdated --update` is ``` ${{ steps.log.outputs.content }} ``` branch: update-deno-dependencies author: GitHub <noreply@github.com> delete-branch: true

#2024-12-12 12:27:34
#2024-11-29 00:37:14