From 77f3e1ee5f93a4387697224720898887e749a775 Mon Sep 17 00:00:00 2001 From: Kohei Akiyama Date: Tue, 2 Jan 2024 15:22:27 +0900 Subject: [PATCH 1/2] adapt labeler and small refactoring --- .github/labeler.yml | 10 ++++++++++ .github/workflows/labeler.yml | 15 +++++++++++++++ .github/workflows/test.yml | 2 +- README.md | 3 ++- 4 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..0adfb45a --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,10 @@ +source: + - src/**/* +action: + - action.yml +tests: + - __tests__/**/* +gha: + - .github/workflows/* +documentation: + - '*.md' \ No newline at end of file diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..d13edf1d --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,15 @@ +## +# Label incoming pull requests according to configuration in .github/labeler.yml +## +name: Pull Request Labeler +on: +- pull_request_target + +jobs: + triage: + runs-on: ubuntu-latest + steps: + # See documentation: https://github.com/actions/labeler + - uses: actions/labeler@v3 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2b6a1454..dc6f00f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: "build-test" +name: Unit Test on: # rebuild any PRs and main branch changes pull_request: push: diff --git a/README.md b/README.md index cf393d3c..089b76bc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # install-azcopy-action -install-azcopy-action status +install-azcopy-action status +release # Usage From 711f52236e16446e0dcac111943c5d566de898b5 Mon Sep 17 00:00:00 2001 From: Kohei Akiyama Date: Tue, 2 Jan 2024 15:30:00 +0900 Subject: [PATCH 2/2] Fix path --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 089b76bc..d3d81caa 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # install-azcopy-action -install-azcopy-action status +install-azcopy-action status release # Usage