Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check using gha labeler@v5 #3205

Merged
merged 2 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 23 additions & 11 deletions .github/pr-labeler-config.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,55 @@
# Add 'docker' to any changes within 'docker' folder or any subfolders
docker:
- docker/**/*
- changed-files:
- any-glob-to-any-file: docker/**

# Add 'docs' to any changes within 'docs' folder
docs:
- docs/**/*
- changed-files:
- any-glob-to-any-file: docs/**

# Add 'ci' to any changes in '.github' folder
ci:
- .github/**/*
- changed-files:
- any-glob-to-any-file: .github/**

# Add 'examples' to any changes within 'examples' folder
examples:
- examples/**/*
- changed-files:
- any-glob-to-any-file: examples/**

# Add 'base' to any changes within 'base' folder
"module: base":
- ignite/base/**/*
- changed-files:
- any-glob-to-any-file: ignite/base/**/*

# Add 'contrib' to any changes within 'contrib' folder
"module: contrib":
- ignite/contrib/**/*
- changed-files:
- any-glob-to-any-file: ignite/contrib/**/*

# Add 'distributed' to any changes within 'distributed' folder
"module: distributed":
- ignite/distributed/**/*
- changed-files:
- any-glob-to-any-file: ignite/distributed/**/*

# Add 'engine' to any changes within 'engine' folder
"module: engine":
- ignite/engine/**/*
- changed-files:
- any-glob-to-any-file: ignite/engine/**/*

# Add 'handlers' to any changes within 'handlers' folder
"module: handlers":
- ignite/handlers/**/*
- changed-files:
- any-glob-to-any-file: ignite/handlers/**/*

# Add 'metrics' to any changes within 'metrics' folder
"module: metrics":
- ignite/metrics/**/*
- changed-files:
- any-glob-to-any-file: ignite/metrics/**/*

-
# Add 'utils' to any changes within 'utils' module
"module: utils":
- ignite/utils.py
- changed-files:
- any-glob-to-any-file: ignite/utils.py
12 changes: 9 additions & 3 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
name: Triage

on:
pull_request_target:
types: [opened]
# For testing purposes only
# https://github.com/actions/labeler?tab=readme-ov-file#updating-major-version-of-the-labeler
pull_request
# pull_request_target:
# types: [opened]
# issues:
# types: [opened]

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Pull Request Labeler
# if: github.event_name == 'pull_request_target'
uses: actions/labeler@v5
with:
configuration-path: .github/pr-labeler-config.yml
Expand Down
Loading