From 43b15f49b7234ec98838ea04cf393ca3dfa1fdd8 Mon Sep 17 00:00:00 2001 From: TheFox0x7 Date: Wed, 18 Dec 2024 02:18:37 +0000 Subject: [PATCH] Add a warning about sha256 support in actions (#126) Closes: https://gitea.com/gitea/docs/issues/74 Reviewed-on: https://gitea.com/gitea/docs/pulls/126 Reviewed-by: Lunny Xiao Co-authored-by: TheFox0x7 Co-committed-by: TheFox0x7 --- docs/usage/actions/quickstart.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/usage/actions/quickstart.md b/docs/usage/actions/quickstart.md index 9a9faf6e..c9e2297d 100644 --- a/docs/usage/actions/quickstart.md +++ b/docs/usage/actions/quickstart.md @@ -113,6 +113,12 @@ jobs: - run: echo "🍏 This job's status is ${{ job.status }}." ``` +:::warning + +Certain actions may not function correctly within SHA256 repositories. This includes [actions/checkout](https://github.com/actions/checkout/issues/1843). + +::: + You can upload it as a file with the extension `.yaml` in the directory `.gitea/workflows/` of the repository, for example `.gitea/workflows/demo.yaml`. You might notice that this is fairly similar from the [Quickstart for GitHub Actions](https://docs.github.com/en/actions/quickstart). That is because Gitea Actions is designed to be compatible with GitHub Actions wherever possible.