diff --git a/.github/workflows/issue.yml b/.github/workflows/issue.yml index 8b0d6d4..ccea152 100644 --- a/.github/workflows/issue.yml +++ b/.github/workflows/issue.yml @@ -34,28 +34,28 @@ jobs : runs-on : ubuntu-latest steps : - name : default label bug - uses : "npm/.github/actions/default@v0.4.0" + uses : "npm/.github/actions/default@v0.5.3" with : regex : '^(BUG)' subject : '${{ github.event.issue.title }}' input : 'issues | addLabels | context.repo | issue_number:${{ github.event.issue.number }} | labels:[ "bug" ]' token : '${{ secrets.GITHUB_TOKEN }}' - name : default label feature - uses : "npm/.github/actions/default@v0.4.0" + uses : "npm/.github/actions/default@v0.5.3" with : regex : '^(FEATURE)' subject : '${{ github.event.issue.title }}' input : 'issues | addLabels | context.repo | issue_number:${{ github.event.issue.number }} | labels:[ "feature" ]' token : '${{ secrets.GITHUB_TOKEN }}' - name : default label question - uses : "npm/.github/actions/default@v0.4.0" + uses : "npm/.github/actions/default@v0.5.3" with : regex : '^(QUESTION)' subject : '${{ github.event.issue.title }}' input : 'issues | addLabels | context.repo | issue_number:${{ github.event.issue.number }} | labels:[ "question" ]' token : '${{ secrets.GITHUB_TOKEN }}' - name : default assignees actor - uses : "npm/.github/actions/default@v0.4.0" + uses : "npm/.github/actions/default@v0.5.3" if : contains( github.actor , '[bot]' ) == false with : input : 'issues | addAssignees | context.repo | issue_number:${{ github.event.issue.number }} | assignees:[ "${{ github.actor }}" ]' diff --git a/.github/workflows/pulls.yml b/.github/workflows/pulls.yml index 5bdd7b1..36dd24d 100644 --- a/.github/workflows/pulls.yml +++ b/.github/workflows/pulls.yml @@ -33,28 +33,28 @@ jobs : runs-on : ubuntu-latest steps : - name : default label bug - uses : "npm/.github/actions/default@v0.4.0" + uses : "npm/.github/actions/default@v0.5.3" with : regex : '^(fix)(\([\w\-]+\))?(\!)?(\:)' subject : '${{ github.event.pull_request.title }}' input : 'issues | addLabels | context.repo | issue_number:${{ github.event.pull_request.number }} | labels:[ "bug" ]' token : '${{ secrets.GITHUB_TOKEN }}' - name : default label feature - uses : "npm/.github/actions/default@v0.4.0" + uses : "npm/.github/actions/default@v0.5.3" with : regex : '^(feat)(\([\w\-]+\))?(\!)?(\:)' subject : '${{ github.event.pull_request.title }}' input : 'issues | addLabels | context.repo | issue_number:${{ github.event.pull_request.number }} | labels:[ "feature" ]' token : '${{ secrets.GITHUB_TOKEN }}' - name : default label chore - uses : "npm/.github/actions/default@v0.4.0" + uses : "npm/.github/actions/default@v0.5.3" with : regex : '^(chore)(\([\w\-]+\))?(\!)?(\:)' subject : '${{ github.event.pull_request.title }}' input : 'issues | addLabels | context.repo | issue_number:${{ github.event.pull_request.number }} | labels:[ "chore" ]' token : '${{ secrets.GITHUB_TOKEN }}' - name : default assignees actor - uses : "npm/.github/actions/default@v0.4.0" + uses : "npm/.github/actions/default@v0.5.3" if : contains( github.actor , '[bot]' ) == false with : input : 'issues | addAssignees | context.repo | issue_number:${{ github.event.pull_request.number }} | assignees:[ "${{ github.actor }}" ]'