diff --git a/.github/workflows/bot_runner.yml b/.github/workflows/bot_runner.yml index 3eb694d9d7..de935df957 100644 --- a/.github/workflows/bot_runner.yml +++ b/.github/workflows/bot_runner.yml @@ -59,8 +59,8 @@ jobs: - name: "frameiterator check" run: | if [[ "$(<./frameiterator)" -ge "$(sed -nE 's|.*total_frame="([^"]*)".*|\1|g' ./config.conf)" ]]; then - printf '%s\n' "bot_runner.yml disabled, because the posting is finished" >&2 - curl -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}/actions/workflows/bot_runner.yml/disable" + printf '%s\n' "process.yml disabled, because the posting is finished" >&2 + curl -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/${{ github.repository }}/actions/workflows/process.yml/disable" fi sample-bot: