From fe183e8956b7af09a55270af379b078c521fe4d6 Mon Sep 17 00:00:00 2001 From: "Mohamed A. Salah" Date: Sat, 17 May 2025 13:27:32 +0300 Subject: [PATCH 1/3] fix labeler correct file name extension use .yml instead of .yaml --- .github/{labeler.yaml => labeler.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{labeler.yaml => labeler.yml} (100%) diff --git a/.github/labeler.yaml b/.github/labeler.yml similarity index 100% rename from .github/labeler.yaml rename to .github/labeler.yml From c7871e9e273d247c2b838682bfc902e10e8f05b2 Mon Sep 17 00:00:00 2001 From: "Mohamed A. Salah" Date: Sat, 17 May 2025 13:32:58 +0300 Subject: [PATCH 2/3] checkout first --- .github/workflows/labeler.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 52474c6a6..f4b3a90bd 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,3 +1,6 @@ +# This is a workflow file that will be used to run the labeler action on pull requests +# The action will add labels to the pull request based on the files that were changed + name: "Pull Request Labeler" on: - pull_request_target @@ -9,4 +12,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: actions/labeler@v5 + with: + sync-labels: true From 9b52e42fe6ecbada73842e92c8a4cd0ec0183916 Mon Sep 17 00:00:00 2001 From: "Mohamed A. Salah" Date: Sat, 17 May 2025 13:55:42 +0300 Subject: [PATCH 3/3] feat: revert the labler workflow --- .github/workflows/labeler.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index f4b3a90bd..52474c6a6 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,6 +1,3 @@ -# This is a workflow file that will be used to run the labeler action on pull requests -# The action will add labels to the pull request based on the files that were changed - name: "Pull Request Labeler" on: - pull_request_target @@ -12,7 +9,4 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - uses: actions/labeler@v5 - with: - sync-labels: true