From 98323e3c5e4f1851a3e2488be75a6b53c743a940 Mon Sep 17 00:00:00 2001 From: Sir Mergealot <51328680+mergealot@users.noreply.github.com> Date: Wed, 9 Oct 2024 08:49:08 +0200 Subject: [PATCH] feat(github): poetry update workflow [pulumi] --- .github/workflows/poetry-update.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/poetry-update.yml diff --git a/.github/workflows/poetry-update.yml b/.github/workflows/poetry-update.yml new file mode 100644 index 0000000..d31654a --- /dev/null +++ b/.github/workflows/poetry-update.yml @@ -0,0 +1,28 @@ +# This file was added by Pulumi and should not be edited manually. To edit the contents of this file, please go +# to the github-management project in moneymeets-pulumi and call `pulumi up` after changing the template file. + +name: Poetry update + +on: + workflow_dispatch: + schedule: + - cron: '* 09 01 * *' # Every month at 9am. + +jobs: + poetry-update: + runs-on: ubuntu-24.04 + timeout-minutes: 5 + permissions: + contents: write # Allow creation of separate branch and push to it + pull-requests: write # Allow creation of PRs + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 # Needed for check if dependencies update branch already exists + # Allows to use git operations such as git push on the repository + ssh-key: '${{ secrets.WORKFLOW_DEPLOY_KEY }}' + + - uses: moneymeets/action-poetry-update@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + \ No newline at end of file