Skip to content

Commit

Permalink
ci: sync with template repository
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 5, 2024
1 parent c340008 commit ec008ea
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .github/auto-label.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/googleapis/repo-automation-bots/main/packages/auto-label/src/config-schema.json

language:
pullrequest: true
labelprefix: "lang: "

staleness:
pullrequest: true

requestsize:
enabled: true
10 changes: 10 additions & 0 deletions .github/blunderbuss.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/googleapis/repo-automation-bots/main/packages/blunderbuss/src/config-schema.json

assign_issues:
- liblaf

assign_prs:
- liblaf

ignore_authors:
- dependabot
11 changes: 7 additions & 4 deletions .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: Merge
on:
pull_request:

permissions:
contents: write
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

Expand All @@ -20,6 +16,8 @@ jobs:

merge:
name: Merge
permissions:
pull-requests: write
if: github.event.pull_request.user.login == 'dependabot[bot]' ||
github.event.pull_request.user.login == 'pre-commit-ci[bot]'
runs-on: ubuntu-latest
Expand All @@ -28,3 +26,8 @@ jobs:
run: gh pr merge ${{ github.event.pull_request.html_url }} --auto --squash
env:
GH_TOKEN: ${{ github.token }}
- name: Enable Merge-on-green
run: |
gh pr edit ${{ github.event.pull_request.html_url }} --add-label "automerge: exact"
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit ec008ea

Please sign in to comment.