From 212529fc2ade002800331aa81893809c4eb05309 Mon Sep 17 00:00:00 2001 From: Sarisia Date: Sun, 13 Dec 2020 10:37:57 +0000 Subject: [PATCH 1/4] add notification to test-run --- .github/workflows/test-run.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-run.yml b/.github/workflows/test-run.yml index 9450443..03683ec 100644 --- a/.github/workflows/test-run.yml +++ b/.github/workflows/test-run.yml @@ -28,3 +28,7 @@ jobs: file: 'README.md' start_flag: "" end_flag: "" + - uses: sarisia/actions-status-discord@v1 + with: + webhook: ${{ secrets.DISCORD_WEBHOOK }} + title: test-run From cdf4ba1a571a5dfc3b0e9ad2d4d88b0ba7203b02 Mon Sep 17 00:00:00 2001 From: Sarisia Date: Sun, 13 Dec 2020 10:42:12 +0000 Subject: [PATCH 2/4] add test run for releases --- .github/workflows/test-run-release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test-run-release.yml diff --git a/.github/workflows/test-run-release.yml b/.github/workflows/test-run-release.yml new file mode 100644 index 0000000..6451019 --- /dev/null +++ b/.github/workflows/test-run-release.yml @@ -0,0 +1,22 @@ +name: test run release branch +on: + repository_dispatch: + push: + tags: + - v* + branches: + - release/* + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ./ + with: + url: 'https://note.sarisia.cc/index.xml' + file: 'README.md' + - uses: sarisia/actions-status-discord@v1 + with: + webhook: ${{ secrets.DISCORD_WEBHOOK }} + title: test run release branch From 26fdbef0faf46719c0e14ea01b0822005ea55a99 Mon Sep 17 00:00:00 2001 From: Sarisia Date: Sun, 13 Dec 2020 10:43:59 +0000 Subject: [PATCH 3/4] update readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9429480..1263f78 100644 --- a/README.md +++ b/README.md @@ -253,6 +253,7 @@ For deploy key: - uses: actions/checkout@v2 with: ssh-key: ${{ secrets.DEPLOY_KEY }} +- uses: sarisia/actions-readme-feed@v1 ``` For Personal Access Token: @@ -261,6 +262,7 @@ For Personal Access Token: - uses: actions/checkout@v2 with: token: ${{ secrets.PAT }} +- uses: sarisia/actions-readme-feed@v1 ``` # Remarks @@ -279,6 +281,7 @@ steps: - uses: sarisia/setup-icu@v1 - uses: sarisia/actions-readme-feed@v1 with: + url: https://note.sarisia.cc/index.xml file: README.md locale: 'ja-JP' ``` @@ -291,6 +294,7 @@ steps: - run: npm install icu4c-data@64l - uses: sarisia/actions-readme-feed@v1 with: + url: https://note.sarisia.cc/index.xml file: README.md locale: 'ja-JP' env: From 240cbe007ff1d6e930d68154c7fe1008b9f52dcc Mon Sep 17 00:00:00 2001 From: Sarisia Date: Sun, 13 Dec 2020 10:45:19 +0000 Subject: [PATCH 4/4] fix trigger for test-run-release --- .github/workflows/test-run-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-run-release.yml b/.github/workflows/test-run-release.yml index 6451019..7668ff8 100644 --- a/.github/workflows/test-run-release.yml +++ b/.github/workflows/test-run-release.yml @@ -1,6 +1,6 @@ name: test run release branch on: - repository_dispatch: + workflow_dispatch: push: tags: - v*