aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-08-09 21:32:59 +0300
committerGitHub <noreply@github.com>2022-08-09 21:32:59 +0300
commit6ea3bb3818420f020e8062200207e37cfc7b347e (patch)
tree8ebe6bb19e0e6a3fd96a0131e9a1d0b7e28af007 /.github/workflows
parentd10390a141fd4c4b1853af906e5da599610830c5 (diff)
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
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/update-documentation.yml2
1 files changed, 1 insertions, 1 deletions
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