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: 5 additions & 1 deletion .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ name: Automatic releases
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * 0'
- cron: '5 4 * */3 0'

permissions:
contents: write
pull-requests: write

jobs:
auto-release:
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Based on code from https://andre.arko.net/2022/05/15/automatic-dependabot-merges/

name: "Merge updates"

on:
pull_request:
branches:
- "main"
types:
- "opened"
- "synchronize"
- "reopened"
- "ready_for_review"

permissions:
contents: write
pull-requests: write

jobs:
merge:
name: "Merge"
runs-on: "ubuntu-latest"
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: "Approve pull request"
uses: "juliangruber/approve-pull-request-action@v2"
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
number: "${{ github.event.pull_request.number }}"

- name: "Enable auto-merge for Dependabot pull requests"
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41 changes: 0 additions & 41 deletions .github/workflows/on-pull-request.yml

This file was deleted.