Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/bump_lockfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
if: steps.git-diff.outputs.update_done == 'true'
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PL_PASTEURBOT_PAT_PUBLIC }}
committer: PasteurBot <${{ vars.PL_PASTEURBOT_EMAIL }}>
author: PasteurBot <${{ vars.PL_PASTEURBOT_EMAIL }}>
commit-message: Update dependencies
title: "chore: 📦 Update dependencies"
branch: _bot/update-deps
Expand All @@ -55,5 +57,3 @@ jobs:
body: |
This PR updates the lockfile to the latest versions of the dependencies.
Please review the changes and merge when ready.

To trigger CI checks, please close and reopen this PR.
17 changes: 15 additions & 2 deletions .github/workflows/pre-commit-cron-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,34 @@ jobs:

- name: Create Pull Request (all good)
if: steps.pre-commit.outputs.pre-commit-outcome == 'success'
id: create-pr-ok
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PL_PASTEURBOT_PAT_PUBLIC }}
committer: PasteurBot <${{ vars.PL_PASTEURBOT_EMAIL }}>
author: PasteurBot <${{ vars.PL_PASTEURBOT_EMAIL }}>
commit-message: Update pre-commit hooks
title: "chore: ✅ Update pre-commit hooks"
branch: _bot/update-precommit
draft: false
body: |
Pre-commit hooks have been updated successfully without conflicts.

- name: Enable auto-merge
if: steps.create-pr-ok.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v3
with:
token: ${{ secrets.PL_PASTEURBOT_PAT_PUBLIC }}
pull-request-number: ${{ steps.create-pr-ok.outputs.pull-request-number }}
merge-method: squash

- name: Create Pull Request (conflicts)
if: steps.pre-commit.outputs.pre-commit-outcome == 'failure'
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PL_PASTEURBOT_PAT_PUBLIC }}
committer: PasteurBot <${{ vars.PL_PASTEURBOT_EMAIL }}>
author: PasteurBot <${{ vars.PL_PASTEURBOT_EMAIL }}>
commit-message: Update pre-commit hooks
title: "chore: ⚠️ Update pre-commit hooks [review required]"
branch: _bot/update-precommit
Expand Down