Skip to content

Commit

Permalink
Merge pull request #59 from kheiakiyama/labeler
Browse files Browse the repository at this point in the history
Adapt labeler and small refactoring
  • Loading branch information
kheiakiyama authored Jan 2, 2024
2 parents 25588ac + 711f522 commit 38200e9
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source:
- src/**/*
action:
- action.yml
tests:
- __tests__/**/*
gha:
- .github/workflows/*
documentation:
- '*.md'
15 changes: 15 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -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 }}"
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "build-test"
name: Unit Test
on: # rebuild any PRs and main branch changes
pull_request:
push:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# install-azcopy-action

<a href="https://github.com/kheiakiyama/install-azcopy-action/actions"><img alt="install-azcopy-action status" src="https://github.com/kheiakiyama/install-azcopy-action/workflows/build-test/badge.svg"></a>
<a href="https://github.com/kheiakiyama/install-azcopy-action/actions"><img alt="install-azcopy-action status" src="https://github.com/kheiakiyama/install-azcopy-action/actions/workflows/test.yml/badge.svg"></a>
<a href="https://img.shields.io/github/v/release/kheiakiyama/install-azcopy-action"><img alt="release" src="https://img.shields.io/github/v/release/kheiakiyama/install-azcopy-action"></a>

# Usage

Expand Down

0 comments on commit 38200e9

Please sign in to comment.