Skip to content

Commit

Permalink
chore: update automation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed Mar 26, 2022
1 parent cfcdb40 commit e8efb7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/changelog-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ permissions:
contents: write

jobs:
dependabot:
review:
runs-on: ubuntu-latest
if: "${{ github.actor == 'github-actions[bot]' && github.event.pull_request.title == 'docs: updated CHANGELOG.md' }}"
steps:
- name: Merge PR
run: gh pr merge --admin --merge "$PR_URL"
run: gh pr merge --admin --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4 changes: 2 additions & 2 deletions .github/workflows/dependabot-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:
contents: write

jobs:
dependabot:
review:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 2 additions & 0 deletions .github/workflows/governance.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# https://github.com/DeFiCh/oss-governance-bot
name: Governance Bot

on:
issues:
types: [ opened, labeled, unlabeled ]
Expand Down

0 comments on commit e8efb7b

Please sign in to comment.