Refactor: Design for Interoperability Across Forecasting Modes and SHAP Compatibility #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: License and Dependency Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
jobs: | |
fix_license: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch full history to ensure we're on a branch | |
ref: ${{ github.head_ref }} # Ensure the branch is checked out | |
- name: Fix License Header | |
uses: apache/skywalking-eyes/header@v0.6.0 | |
with: | |
mode: fix | |
- name: Apply Changes | |
uses: EndBug/add-and-commit@v9 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
author_name: License Bot | |
author_email: license_bot@github.com | |
message: 'chore: automatic application of license header' | |
push: true # Ensure the changes are pushed back to the branch | |
check_dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Check Dependencies' License | |
uses: apache/skywalking-eyes/dependency@v0.6.0 |