Skip to content

Commit

Permalink
labeler test
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixdong committed Dec 11, 2024
1 parent 6d30c81 commit 53c88be
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/all-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,20 @@ concurrency:
cancel-in-progress: true

jobs:
name: labeler
uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: ".github/labeler-config.yml"
label:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Run Labeler Action
uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: '.github/labeler-config.yml'

# Megatron Report Clean
megatron-report-clean:
needs: labeler
uses: ./.github/workflows/report-clean.yml
with:
backend: megatron
Expand Down Expand Up @@ -50,7 +55,6 @@ jobs:

# FlagScale Report Clean
flagscale-report-clean:
needs: labeler
uses: ./.github/workflows/report-clean.yml
with:
backend: flagscale
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,13 @@ jobs:
lfs: false
submodules: false
set-safe-directory: true


- name: Run Labeler Action
uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: '.github/labeler-config.yml'

- name: Unit Test Coverage Online Report
run: |
REPORT_ADDR=$(cat "/workspace/config/report_address")
Expand Down

0 comments on commit 53c88be

Please sign in to comment.