Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mergify.yml & upsert-scala-steward-dependencies-branch.yml #323

Merged
merged 2 commits into from
Feb 27, 2024
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
20 changes: 20 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
queue_rules:
- name: default
conditions:
- "check-success=test"
- "check-success=security/snyk (nationalarchives)"
pull_request_rules:
- name: automatic merge for Scala Steward
conditions:
- author=tna-digital-archiving-jenkins
- "check-success=test"
- "check-success=security/snyk (nationalarchives)"
- or:
- files=build.sbt
- files~=^(!?project/)
actions:
review:
type: APPROVE
message: Automatically approving Scala Steward
queue:
name: default
20 changes: 20 additions & 0 deletions .github/workflows/upsert-scala-steward-dependencies-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Upsert `scala-steward-dependencies` branch

on:
push:
branches: master
jobs:
upsert-develop-branch:
permissions: write-all
runs-on: ubuntu-latest
name: Rebase `scala-steward-dependencies` branch to latest `origin/master`
steps:
- name: Checkout scala-steward-dependencies branch
uses: actions/checkout@v2
with:
ref: scala-steward-dependencies
fetch-depth: 0
- name: Rebase `scala-steward-dependencies` branch to latest `origin/master`
run: |
git rebase origin/master
git push -f -u origin scala-steward-dependencies
Loading