From 87f055026a1585557684be13aceed0c749771c8f Mon Sep 17 00:00:00 2001 From: jdkandersson Date: Wed, 30 Aug 2023 15:36:28 +1000 Subject: [PATCH] switch to use stable version of --- .github/pull_request_template.md | 32 ++++++++++++++++++++++++++++ .github/workflows/promote_charm.yaml | 4 ++-- .github/workflows/publish_charm.yaml | 2 +- .github/workflows/test.yaml | 2 +- 4 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..3bd56228 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,32 @@ +Applicable spec: + +### Overview + + + +### Rationale + + + +### Juju Events Changes + + + +### Module Changes + + + +### Library Changes + + + +### Checklist + +- [ ] The [charm style guide](https://juju.is/docs/sdk/styleguide) was applied +- [ ] The [contributing guide](https://github.com/canonical/is-charms-contributing-guide) was applied +- [ ] The changes are compliant with [ISD054 - Managing Charm Complexity](https://discourse.charmhub.io/t/specification-isd014-managing-charm-complexity/11619) +- [ ] The documentation is generated using `src-docs` +- [ ] The documentation for charmhub is updated. +- [ ] The PR is tagged with appropriate label (`urgent`, `trivial`, `complex`) + + diff --git a/.github/workflows/promote_charm.yaml b/.github/workflows/promote_charm.yaml index aee6cab0..44788eec 100644 --- a/.github/workflows/promote_charm.yaml +++ b/.github/workflows/promote_charm.yaml @@ -65,7 +65,7 @@ jobs: run: echo "docs_exist=$([[ -d docs ]] && echo 'True' || echo 'False')" >> $GITHUB_OUTPUT - name: Publish documentation if: steps.docs-exist.outputs.docs_exist == 'True' - uses: canonical/upload-charm-docs@main + uses: canonical/upload-charm-docs@stable with: discourse_host: discourse.charmhub.io discourse_api_username: ${{ secrets.DISCOURSE_API_USERNAME }} @@ -83,7 +83,7 @@ jobs: run: echo "docs_exist=$([[ -d docs ]] && echo 'True' || echo 'False')" >> $GITHUB_OUTPUT - name: Publish documentation if: steps.docs-exist.outputs.docs_exist == 'True' - uses: canonical/upload-charm-docs@main + uses: canonical/upload-charm-docs@stable id: publishDocumentation with: discourse_host: discourse.charmhub.io diff --git a/.github/workflows/publish_charm.yaml b/.github/workflows/publish_charm.yaml index 9f4467a9..13173db2 100644 --- a/.github/workflows/publish_charm.yaml +++ b/.github/workflows/publish_charm.yaml @@ -48,7 +48,7 @@ jobs: run: echo "docs_exist=$([[ -d docs ]] && echo 'True' || echo 'False')" >> $GITHUB_OUTPUT - name: Publish documentation if: steps.docs-exist.outputs.docs_exist == 'True' - uses: canonical/upload-charm-docs@main + uses: canonical/upload-charm-docs@stable with: discourse_host: discourse.charmhub.io discourse_api_username: ${{ secrets.DISCOURSE_API_USERNAME }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e64ef484..ce9d2d32 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -304,7 +304,7 @@ jobs: run: echo "docs_exist=$([[ -d docs ]] && echo 'True' || echo 'False')" >> $GITHUB_OUTPUT - name: Publish documentation if: ${{ steps.docs-exist.outputs.docs_exist == 'True' && !github.event.pull_request.head.repo.fork }} - uses: canonical/upload-charm-docs@main + uses: canonical/upload-charm-docs@stable with: discourse_host: discourse.charmhub.io discourse_api_username: ${{ secrets.DISCOURSE_API_USERNAME }}