Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/add-version-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
- name: Get version
uses: technote-space/get-next-version-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXCLUDE_MESSAGES: |
update package version
update packages
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
- uses: technote-space/get-git-comment-action@v1
- uses: technote-space/get-diff-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PREFIX_FILTER: |
src/
__tests__/
Expand Down Expand Up @@ -64,7 +63,6 @@ jobs:
- uses: technote-space/get-git-comment-action@v1
- uses: technote-space/get-diff-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PREFIX_FILTER: |
src/
__tests__/
Expand Down Expand Up @@ -142,9 +140,22 @@ jobs:
fi
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

- uses: actions/checkout@v2
if: env.RUNNING
- name: Set running flag
run: npx can-npm-publish || echo "::set-env name=RUNNING::"
if: env.RUNNING && matrix.target == 'npm'
- name: Set running flag
run: |
LATEST=`npm view . version`
CURRENT=`cat package.json | jq -r .version`
if [ "$LATEST" = "$CURRENT" ]; then
echo "::set-env name=RUNNING::"
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: env.RUNNING && matrix.target == 'gpr'

- name: Setup Node.js
uses: actions/setup-node@v1
with:
Expand Down Expand Up @@ -172,7 +183,6 @@ jobs:
- name: Check package version
uses: technote-space/package-version-check-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMMIT_DISABLED: 1
if: env.RUNNING
- name: Install Package dependencies
Expand Down Expand Up @@ -228,8 +238,6 @@ jobs:
if: always()
steps:
- uses: technote-space/workflow-conclusion-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: 8398a7/action-slack@v2
with:
status: failure
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/issue-opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@ jobs:
name: Assign issues to project
runs-on: ubuntu-latest
steps:
- name: Assign issues to project
uses: technote-space/create-project-card-action@v1
- uses: technote-space/create-project-card-action@v1
with:
PROJECT: Backlog
COLUMN: To do
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

assignAuthor:
name: Assign author to issue
runs-on: ubuntu-latest
steps:
- name: Assign author to issue
uses: technote-space/assign-author@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: technote-space/assign-author@v1
13 changes: 3 additions & 10 deletions .github/workflows/pr-opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
name: Assign PullRequest to Project
runs-on: ubuntu-latest
steps:
- name: Assign PullRequest to Project
uses: technote-space/create-project-card-action@v1
- uses: technote-space/create-project-card-action@v1
with:
PROJECT: Backlog
COLUMN: In progress
Expand All @@ -21,16 +20,10 @@ jobs:
name: Assign author to PR
runs-on: ubuntu-latest
steps:
- name: Assign Author to PR
uses: technote-space/assign-author@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: technote-space/assign-author@v1

addLabelsByBranch:
name: PR Labeler
runs-on: ubuntu-latest
steps:
- name: PR Labeler
uses: technote-space/pr-labeler-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: technote-space/pr-labeler-action@v3
11 changes: 3 additions & 8 deletions .github/workflows/pr-updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
runs-on: ubuntu-latest
if: "! startsWith(github.head_ref, 'release/')"
steps:
- name: Pull Request Labeler
uses: actions/labeler@v2
- uses: actions/labeler@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -20,10 +19,8 @@ jobs:
runs-on: ubuntu-latest
if: github.event.pull_request.head.user.id == github.event.pull_request.base.user.id
steps:
- name: Pull Request Body
uses: technote-space/pr-commit-body-action@v1
- uses: technote-space/pr-commit-body-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXCLUDE_MESSAGES: |
trigger workflow
update TOC
Expand All @@ -38,8 +35,7 @@ jobs:
runs-on: ubuntu-latest
if: "github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref, 'release/') && ! startsWith(github.head_ref, 'release/v')"
steps:
- name: Manage release
uses: technote-space/release-type-action@v1
- uses: technote-space/release-type-action@v1
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
EXCLUDE_MESSAGES: |
Expand All @@ -63,7 +59,6 @@ jobs:
- name: Get version
uses: technote-space/get-next-version-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXCLUDE_MESSAGES: |
update package version
update packages
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/project-card-moved.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@ jobs:
name: Auto card labeler
runs-on: ubuntu-latest
steps:
- name: Auto card labeler
uses: technote-space/auto-card-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: technote-space/auto-card-labeler@v1
3 changes: 1 addition & 2 deletions .github/workflows/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
name: TOC Generator
runs-on: ubuntu-latest
steps:
- name: TOC Generator
uses: technote-space/toc-generator@v2
- uses: technote-space/toc-generator@v2
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_BRANCH_PREFIX: release/
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
- name: Get version
uses: technote-space/get-next-version-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXCLUDE_MESSAGES: |
update package version
update packages
Expand Down