From 226f90dbcbcaf8676d46f6b09271f265bd2ce37b Mon Sep 17 00:00:00 2001 From: Yash-Singh1 Date: Fri, 19 Nov 2021 21:14:20 -0800 Subject: [PATCH 1/4] Setup pr labeler config validator --- .github/workflows/pr-labeler-config-validator.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/pr-labeler-config-validator.yml diff --git a/.github/workflows/pr-labeler-config-validator.yml b/.github/workflows/pr-labeler-config-validator.yml new file mode 100644 index 000000000..68c2e3b78 --- /dev/null +++ b/.github/workflows/pr-labeler-config-validator.yml @@ -0,0 +1,11 @@ +name: Validate PR Labeler Configuration +on: [push, pull_request] + +jobs: + pr-labeler: + runs-on: ubuntu-latest + steps: + - name: Validate Configuration + uses: Yash-Singh1/pr-labeler-config-validator@v0.0.1 + with: + configuration-path: .github/pr-labeler.yml From a4f26f27bc8a6f8ba2f93d8dfec6513336312b3d Mon Sep 17 00:00:00 2001 From: Yash Singh Date: Sat, 20 Nov 2021 10:09:47 -0800 Subject: [PATCH 2/4] Attempt to use branch name --- .github/workflows/pr-labeler-config-validator.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-labeler-config-validator.yml b/.github/workflows/pr-labeler-config-validator.yml index 68c2e3b78..0cbc5f344 100644 --- a/.github/workflows/pr-labeler-config-validator.yml +++ b/.github/workflows/pr-labeler-config-validator.yml @@ -6,6 +6,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Validate Configuration - uses: Yash-Singh1/pr-labeler-config-validator@v0.0.1 + uses: Yash-Singh1/pr-labeler-config-validator@releases/v0.0.2 with: configuration-path: .github/pr-labeler.yml From 8a08efdfbb5194d2569398f529a65e9fc6e6675b Mon Sep 17 00:00:00 2001 From: Yash-Singh1 Date: Sat, 20 Nov 2021 15:48:50 -0800 Subject: [PATCH 3/4] Checkout repo --- .github/workflows/pr-labeler-config-validator.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-labeler-config-validator.yml b/.github/workflows/pr-labeler-config-validator.yml index 0cbc5f344..2705a08e1 100644 --- a/.github/workflows/pr-labeler-config-validator.yml +++ b/.github/workflows/pr-labeler-config-validator.yml @@ -5,6 +5,8 @@ jobs: pr-labeler: runs-on: ubuntu-latest steps: + - name: Checkout Repository + uses: actions/checkout@v2.3.4 - name: Validate Configuration uses: Yash-Singh1/pr-labeler-config-validator@releases/v0.0.2 with: From efcc3b7d3734e4bed33dc3fab852cf53ee909b31 Mon Sep 17 00:00:00 2001 From: Yash-Singh1 Date: Sat, 20 Nov 2021 18:20:05 -0800 Subject: [PATCH 4/4] Use 0.0.3 --- .github/workflows/pr-labeler-config-validator.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-labeler-config-validator.yml b/.github/workflows/pr-labeler-config-validator.yml index 2705a08e1..c54e6d13e 100644 --- a/.github/workflows/pr-labeler-config-validator.yml +++ b/.github/workflows/pr-labeler-config-validator.yml @@ -8,6 +8,6 @@ jobs: - name: Checkout Repository uses: actions/checkout@v2.3.4 - name: Validate Configuration - uses: Yash-Singh1/pr-labeler-config-validator@releases/v0.0.2 + uses: Yash-Singh1/pr-labeler-config-validator@releases/v0.0.3 with: configuration-path: .github/pr-labeler.yml