Skip to content

Commit

Permalink
chore: terraform lifecycle management automated commit (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuwas authored Sep 1, 2020
1 parent 812f301 commit 62adef7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
name : default
on :
push :
branches : [ "master" ]
branches : [ "main" ]
tags : [ "v[0-9]+.[0-9]+.[0-9]+" ]
pull_request :
types :
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@ jobs :
runs-on : ubuntu-latest
steps :
- name : default label bug
uses : "npm/.github/actions/default@master"
uses : "npm/.github/actions/default@v0.4.0"
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@master"
uses : "npm/.github/actions/default@v0.4.0"
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@master"
uses : "npm/.github/actions/default@v0.4.0"
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@master"
uses : "npm/.github/actions/default@v0.4.0"
if : contains( github.actor , '[bot]' ) == false
with :
input : 'issues | addAssignees | context.repo | issue_number:${{ github.event.issue.number }} | assignees:[ "${{ github.actor }}" ]'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pulls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,28 @@ jobs :
runs-on : ubuntu-latest
steps :
- name : default label bug
uses : "npm/.github/actions/default@master"
uses : "npm/.github/actions/default@v0.4.0"
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@master"
uses : "npm/.github/actions/default@v0.4.0"
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@master"
uses : "npm/.github/actions/default@v0.4.0"
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@master"
uses : "npm/.github/actions/default@v0.4.0"
if : contains( github.actor , '[bot]' ) == false
with :
input : 'issues | addAssignees | context.repo | issue_number:${{ github.event.pull_request.number }} | assignees:[ "${{ github.actor }}" ]'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
} ,
"release" :
{
"branch" : "master" ,
"branches" : [ "main" ] ,
"tagFormat" : "v${version}" ,
"plugins" :
[
Expand Down

0 comments on commit 62adef7

Please sign in to comment.