From 6ea3bb3818420f020e8062200207e37cfc7b347e Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Tue, 9 Aug 2022 11:32:59 -0700 Subject: Update generate-docs Action with OCI syntax (#74) * Update docs with OCI spec changes * reference to version `:1` than `:latest` * nit * sync generate-doc changes * add workflow condition * revert features README changes * address comments --- .github/workflows/update-documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml index 58f74ed..0f50c29 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update-documentation.yml @@ -8,7 +8,7 @@ on: jobs: generate: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')" + if: "github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')" steps: - uses: actions/checkout@v2 -- cgit v1.2.3