Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #148 from Lctrs/feature/sync
Browse files Browse the repository at this point in the history
project: sync with template
  • Loading branch information
lctrs-bot committed Jun 11, 2020
2 parents 780d525 + eeb78a6 commit 7c30493
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 20 deletions.
14 changes: 0 additions & 14 deletions .dependabot/config.yaml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,27 @@
# https://help.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2

updates:
- commit-message:
include: "scope"
prefix: "Build"
directory: "/"
labels:
- "dependency"
open-pull-requests-limit: 10
package-ecosystem: "composer"
schedule:
interval: "daily"
versioning-strategy: "increase"

- commit-message:
include: "scope"
prefix: "Build"
directory: "/"
labels:
- "dependency"
open-pull-requests-limit: 10
package-ecosystem: "github-actions"
schedule:
interval: "daily"
10 changes: 5 additions & 5 deletions .github/workflows/integrate.yaml
Expand Up @@ -395,14 +395,14 @@ jobs:
github.event.action == 'reopened' ||
github.event.action == 'synchronize'
) && (
(github.actor == 'dependabot-preview[bot]' && startsWith(github.event.pull_request.title, 'Build(deps-dev)')) ||
(github.actor == 'dependabot[bot]' && startsWith(github.event.pull_request.title, 'Build(deps-dev)')) ||
(github.actor == 'lctrs-bot' && github.event.pull_request.title == 'Enhancement: Update license year') ||
(github.actor == 'Lctrs' && contains(github.event.pull_request.labels.*.name, 'merge'))
)
steps:
- name: "Request review from @lctrs-bot"
uses: "actions/github-script@v1"
uses: "actions/github-script@v2"
with:
github-token: "${{ secrets.LCTRS_BOT_TOKEN }}"
script: |
Expand All @@ -421,7 +421,7 @@ jobs:
})
- name: "Assign @lctrs-bot"
uses: "actions/github-script@v1"
uses: "actions/github-script@v2"
with:
github-token: "${{ secrets.LCTRS_BOT_TOKEN }}"
script: |
Expand All @@ -440,7 +440,7 @@ jobs:
})
- name: "Approve pull request"
uses: "actions/github-script@v1"
uses: "actions/github-script@v2"
if: "github.actor != 'lctrs-bot'"
with:
github-token: "${{ secrets.LCTRS_BOT_TOKEN }}"
Expand All @@ -456,7 +456,7 @@ jobs:
})
- name: "Merge pull request"
uses: "actions/github-script@v1"
uses: "actions/github-script@v2"
with:
github-token: "${{ secrets.LCTRS_BOT_TOKEN }}"
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/triage.yaml
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: "Add labels based on branch name"
uses: "actions/github-script@v1"
uses: "actions/github-script@v2"
with:
github-token: "${{ secrets.LCTRS_BOT_TOKEN }}"
script: |
Expand Down

0 comments on commit 7c30493

Please sign in to comment.