Skip to content

fix: resample feed-in forecast from its own native interval #77

fix: resample feed-in forecast from its own native interval

fix: resample feed-in forecast from its own native interval #77

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'],
});
}