diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 0df9e93f..310a5d53 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -895,7 +895,7 @@ jobs: output_action: none delay: 120 if: ${{ success() || failure() }} - - name: 📕 Community templates - Example + - name: 📕 Community templates - Using a community template uses: lowlighter/metrics@master with: token: ${{ secrets.METRICS_TOKEN }} @@ -905,6 +905,16 @@ jobs: output_action: none delay: 120 if: ${{ success() || failure() }} + - name: 📕 Community templates - Using a trusted community template + uses: lowlighter/metrics@master + with: + token: ${{ secrets.METRICS_TOKEN }} + template: '@terminal' + setup_community_templates: lowlighter/metrics@master:terminal+trust + plugins_errors_fatal: 'yes' + output_action: none + delay: 120 + if: ${{ success() || failure() }} - name: Publish examples diff --git a/tests/cases/community.template.yml b/tests/cases/community.template.yml index fc90fedd..7c71f1af 100644 --- a/tests/cases/community.template.yml +++ b/tests/cases/community.template.yml @@ -1,4 +1,4 @@ -- name: 📕 Community templates - Example +- name: 📕 Community templates - Using a community template uses: lowlighter/metrics@latest with: token: MOCKED_TOKEN @@ -6,3 +6,11 @@ setup_community_templates: lowlighter/metrics@master:classic modes: - action +- name: 📕 Community templates - Using a trusted community template + uses: lowlighter/metrics@latest + with: + token: MOCKED_TOKEN + template: '@terminal' + setup_community_templates: lowlighter/metrics@master:terminal+trust + modes: + - action