Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- name: Check commenter
id: auth_check
uses: morfien101/actions-authorized-user@4a3cfbf0bcb3cafe4a71710a278920c5d94bb38b
uses: canonical/actions-authorized-user@4a3cfbf0bcb3cafe4a71710a278920c5d94bb38b
with:
username: ${{ github.event.comment.author.login }}
org: "Canonical"
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
new_version: ${{ steps.compute_version.outputs.new_version }}
steps:
- name: Get PR branch
uses: xt0rted/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1
uses: canonical/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1
id: comment-branch
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
run: |
poetry build
- name: Publish to test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
with:
repository-url: https://test.pypi.org/legacy/
permissions:
Expand All @@ -103,11 +103,11 @@ jobs:
timeout-minutes: 5
steps:
- name: Get PR branch
uses: xt0rted/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1
uses: canonical/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1
id: comment-branch
- name: Update python library and create PR on ${{ matrix.repository }}
id: remoteupdater
uses: Gu1nness/poetry-remote-update@main
uses: canonical/poetry-remote-update@b29bb19cce253259dad93d7b189345765c036bf3
with:
library: 'mongo-charms-single-kernel'
new_version: '${{ needs.publish_dev.outputs.new_version }}'
Expand All @@ -123,7 +123,7 @@ jobs:
run: |
gh pr ready ${{ steps.remoteupdater.outputs.pull-request-url }}
- name: Comment on PR
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b
uses: canonical/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b
with:
message: |
* ${{ steps.remoteupdater.outputs.pull-request-operation }} [${{ matrix.repository }} PR](${{ steps.remoteupdater.outputs.pull-request-url }})
4 changes: 2 additions & 2 deletions .github/workflows/needs_bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: dorny/paths-filter@v3
- uses: canonical/paths-filter@v3
id: filter
with:
filters: |
single_kernel_mongo:
- 'single_kernel_mongo/**'
- 'pyproject.toml'
- 'poetry.lock'
- uses: rayepps/require-semver-bump@v1
- uses: canonical/require-semver-bump@4f02dbdbd5ee87155ddf5915cf65067d767559f4
if: steps.filter.outputs.single_kernel_mongo == 'true'
with:
file: pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ jobs:
name: python-package-distributions
path: dist/
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
permissions:
id-token: write # Needed for trusted publishing (https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/)