From 49e6abf370cff242f263b55f2901bf42ef0cabb8 Mon Sep 17 00:00:00 2001 From: Technote Date: Wed, 25 Sep 2019 17:57:18 +0900 Subject: [PATCH 1/3] Update released.yml --- .github/workflows/released.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/released.yml b/.github/workflows/released.yml index bb039b1e..d7104f50 100644 --- a/.github/workflows/released.yml +++ b/.github/workflows/released.yml @@ -12,11 +12,6 @@ jobs: - uses: actions/checkout@v1 with: fetch-depth: 3 - - name: Check package version - uses: technote-space/ga-package-version-checker@test/v1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TEST_TAG_PREFIX: test/ - name: Release GitHub Actions uses: technote-space/release-github-actions@test/v1 with: From 5d9038004c168ebfb68a1278d32a8089f14563d1 Mon Sep 17 00:00:00 2001 From: Technote Date: Wed, 25 Sep 2019 17:58:38 +0900 Subject: [PATCH 2/3] chore: tweaks --- README.ja.md | 44 ++++++++++++++++++++++---------------------- README.md | 44 ++++++++++++++++++++++---------------------- 2 files changed, 44 insertions(+), 44 deletions(-) diff --git a/README.ja.md b/README.ja.md index 64722441..2645a8f9 100644 --- a/README.ja.md +++ b/README.ja.md @@ -44,6 +44,28 @@ ![Updated](https://raw.githubusercontent.com/technote-space/ga-package-version-checker/images/screenshot-2.png) ## インストール +### プッシュ時に使用 + 例:`.github/workflows/check_version.yml` + ```yaml + on: push + name: Check package version + jobs: + checkVersion: + name: Check package version + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 3 + + # Use this GitHub Action + - name: Check package version + uses: technote-space/ga-package-version-checker@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BRANCH_PREFIX: release/ + ``` + ### リリースプロセスで使用 例:`.github/workflows/release.yml` ```yaml @@ -80,28 +102,6 @@ args: publish ``` -### プッシュ時に使用 - 例:`.github/workflows/check_version.yml` - ```yaml - on: push - name: Check package version - jobs: - checkVersion: - name: Check package version - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 3 - - # Use this GitHub Action - - name: Check package version - uses: technote-space/ga-package-version-checker@v1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH_PREFIX: release/ - ``` - ## オプション ### BRANCH_PREFIX ブランチプリフィックス diff --git a/README.md b/README.md index b27aa894..89c2302e 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,28 @@ GitHub Action to check package version before publish. ![Updated](https://raw.githubusercontent.com/technote-space/ga-package-version-checker/images/screenshot-2.png) ## Installation +### Used when push + e.g. `.github/workflows/check_version.yml` + ```yaml + on: push + name: Check package version + jobs: + checkVersion: + name: Check package version + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 3 + + # Use this GitHub Action + - name: Check package version + uses: technote-space/ga-package-version-checker@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BRANCH_PREFIX: release/ + ``` + ### Used in the release process e.g. `.github/workflows/release.yml` ```yaml @@ -80,28 +102,6 @@ GitHub Action to check package version before publish. args: publish ``` -### Used when push - e.g. `.github/workflows/check_version.yml` - ```yaml - on: push - name: Check package version - jobs: - checkVersion: - name: Check package version - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - with: - fetch-depth: 3 - - # Use this GitHub Action - - name: Check package version - uses: technote-space/ga-package-version-checker@v1 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH_PREFIX: release/ - ``` - ## Options ### BRANCH_PREFIX Branch name prefix. From 834fd8de281a0f19c371feb44a09ab616b0239da Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Sep 2019 08:59:26 +0000 Subject: [PATCH 3/3] docs: Update TOC --- README.ja.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.ja.md b/README.ja.md index 2645a8f9..bd2b178a 100644 --- a/README.ja.md +++ b/README.ja.md @@ -15,8 +15,8 @@ - [スクリーンショット](#%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88) - [インストール](#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB) - - [リリースプロセスで使用](#%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E3%81%A7%E4%BD%BF%E7%94%A8) - [プッシュ時に使用](#%E3%83%97%E3%83%83%E3%82%B7%E3%83%A5%E6%99%82%E3%81%AB%E4%BD%BF%E7%94%A8) + - [リリースプロセスで使用](#%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E3%81%A7%E4%BD%BF%E7%94%A8) - [オプション](#%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3) - [BRANCH_PREFIX](#branch_prefix) - [COMMIT_DISABLED](#commit_disabled) diff --git a/README.md b/README.md index 89c2302e..202e50a1 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ GitHub Action to check package version before publish. - [Screenshots](#screenshots) - [Installation](#installation) - - [Used in the release process](#used-in-the-release-process) - [Used when push](#used-when-push) + - [Used in the release process](#used-in-the-release-process) - [Options](#options) - [BRANCH_PREFIX](#branch_prefix) - [COMMIT_DISABLED](#commit_disabled)