Quantile Binning Refactor #574
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
# This workflow will automatically add an issue or pull request to the project defined on lines 22 and 32. | |
# The project needs to be updated when we move to a new project. | |
# https://github.com/marketplace/actions/add-to-github-projects | |
# The encrypted secret key "ADD_TO_PROJECT_PAT" has been created in accordance with the guidelines provided in https://docs.github.com/en/actions/security-guides/encrypted-secrets | |
name: assign-project | |
on: | |
issues: | |
types: [opened, labeled] | |
pull_request: | |
types: [opened, labeled] | |
jobs: | |
add-issue-to-project: | |
name: Add issue to project | |
if: github.event_name == 'issues' && github.event.action == 'opened' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/pykale/projects/4 | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
add-pull-request-to-project: | |
name: Add pull request to project | |
if: github.event_name == 'pull_request' && github.event.action == 'opened' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/pykale/projects/4 | |
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} |