Skip to content

Commit

Permalink
Shared automerge - closes #702
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Apr 7, 2023
1 parent 165254f commit 7bd96f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,8 @@ on:
- 'Test build package'

jobs:
merge-me:
name: Merge me!
runs-on: ubuntu-latest
steps:
- # It is often a desired behavior to merge only when a workflow execution
# succeeds. This can be changed as needed.
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Merge me!
uses: ridedott/[email protected]
with:
# Depending on branch protection rules, a manually populated
# `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to
# a protected branch must be used. This secret can have an arbitrary
# name, as an example, this repository uses `DOTTBOTT_TOKEN`.
#
# When using a custom token, it is recommended to leave the following
# comment for other developers to be aware of the reasoning behind it:
#
# This must be used as GitHub Actions token does not support pushing
# to protected branches.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: MERGE
PRESET: DEPENDABOT_MINOR
ENABLED_FOR_MANUAL_CHANGES: 'true'
automerge:
uses: fizyk/actions-reuse/.github/workflows/[email protected]
secrets:
app_id: ${{ secrets.MERGE_APP_ID }}
private_key: ${{ secrets.MERGE_APP_PRIVATE_KEY }}
1 change: 1 addition & 0 deletions newsfragments/702.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Migrate to shared automerge workflow for automatic tests dependency updates

0 comments on commit 7bd96f9

Please sign in to comment.