From 1a2c4405cf2c2a5aeed05ceecf065e1b4500a3fe Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Sun, 11 Oct 2020 12:03:18 +0900 Subject: [PATCH] ci: add dry_run --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80d1bb3..323a350 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -103,6 +103,7 @@ jobs: github.ref == 'refs/heads/main' uses: ./ with: + dry_run: ${{ github.event_name == 'pull_request' }} # deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} github_token: ${{ secrets.GITHUB_TOKEN }} # publish_branch: gh-pages @@ -122,6 +123,7 @@ jobs: github.ref == 'refs/heads/main' uses: ./ with: + dry_run: ${{ github.event_name == 'pull_request' }} deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} # github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: gh-pages-ubuntu-16.04 @@ -140,6 +142,7 @@ jobs: github.ref == 'refs/heads/main' uses: ./ with: + dry_run: ${{ github.event_name == 'pull_request' }} deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} # github_token: ${{ secrets.GITHUB_TOKEN }} # personal_token: ${{ secrets.PERSONAL_TOKEN }} @@ -159,6 +162,7 @@ jobs: github.ref == 'refs/heads/main' uses: ./ with: + dry_run: ${{ github.event_name == 'pull_request' }} # deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} github_token: ${{ secrets.GITHUB_TOKEN }} # personal_token: ${{ secrets.PERSONAL_TOKEN }} @@ -178,6 +182,7 @@ jobs: github.ref == 'refs/heads/main' uses: ./ with: + dry_run: ${{ github.event_name == 'pull_request' }} # deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: gh-pages-ubuntu-20.04