WORD-COINS / article-template

WORD記事の雛形。
BSD 3-Clause "New" or "Revised" License
8 stars 4 forks source link

[ignore this please] Remove usage of an Action to get job status #66

Closed private-yusuke closed 2 years ago

private-yusuke commented 2 years ago

概要

closes #65

記事ビルドの結果を取得するために使っていた technote-space/workflow-conclusion-action@v2 の利用をやめ、${{ job.status }} で結果を得るようにします。

動作確認

https://github.com/nektos/act を入れた自分の環境で $ act -s PDF_BUILD_NOTIFY_URL="ここに自分の個人 Slack の Webhook URL が入る" を実行し、以下の場合の動作を確認した。

private-yusuke commented 2 years ago

Note: With the exception of GITHUB_TOKEN, secrets are not passed to the runner when a workflow is triggered from a forked repository.

https://docs.github.com/en/actions/security-guides/encrypted-secrets#using-encrypted-secrets-in-a-workflow

あ〜…… このリポジトリに branch を push して PR 作り直します。🙇‍♂️