Skip to content

fix: hybrid mode no longer downgrades planned grid charging on a small PV surplus #78

fix: hybrid mode no longer downgrades planned grid charging on a small PV surplus

fix: hybrid mode no longer downgrades planned grid charging on a small PV surplus #78

Workflow file for this run

name: Label PRs
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
label:
name: Automatically label PRs by changed files
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/pr-labeler.yml
- name: Label bug based on PR title
uses: actions/github-script@v9
with:
script: |
const title = context.payload.pull_request.title.toLowerCase();
if (/^fix[\s(:!]/.test(title)) {
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
labels: ['bug'],
});
}