From 16d2984832f4500bd7f51dccde53b58264317fd7 Mon Sep 17 00:00:00 2001 From: andy Augustin Date: Sat, 22 Jul 2023 14:30:46 +0200 Subject: [PATCH] Test ssh (#369) * Update test_ssh.yml Signed-off-by: andy Augustin * fix: fix issue with substitution :bug: * chore: version bump to v1.1.1 :rocket: * chore: enable again dry run for the ssh test :rocket: --------- Signed-off-by: andy Augustin --- .github/workflows/actions_template_sync.yml | 2 +- .github/workflows/test_ssh.yml | 7 ++----- README.md | 6 +++--- src/sync_template.sh | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/actions_template_sync.yml b/.github/workflows/actions_template_sync.yml index 17eb68ec..6413fb47 100644 --- a/.github/workflows/actions_template_sync.yml +++ b/.github/workflows/actions_template_sync.yml @@ -16,7 +16,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: actions-template-sync - uses: AndreasAugustin/actions-template-sync@v1.1.0 + uses: AndreasAugustin/actions-template-sync@v1.1.1 with: github_token: ${{ secrets.GITHUB_TOKEN }} source_repo_path: AndreasAugustin/template diff --git a/.github/workflows/test_ssh.yml b/.github/workflows/test_ssh.yml index bb709c23..092f777c 100644 --- a/.github/workflows/test_ssh.yml +++ b/.github/workflows/test_ssh.yml @@ -8,16 +8,13 @@ on: jobs: test-implementation-job: - runs-on: ubuntu-latest steps: # To use this repository's private action, you must check out the repository - - - name: Checkout + - name: Checkout uses: actions/checkout@v3 - - - name: Test action step ssh + - name: Test action step ssh if: github.repository_owner == 'AndreasAugustin' uses: ./ # Uses an action in the root directory with: diff --git a/README.md b/README.md index 0cf3ba66..15a5d5d3 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: actions-template-sync - uses: AndreasAugustin/actions-template-sync@v1.1.0 + uses: AndreasAugustin/actions-template-sync@v1.1.1 with: github_token: ${{ secrets.GITHUB_TOKEN }} source_repo_path: @@ -122,7 +122,7 @@ jobs: with: token: ${{ steps.generate_token.outputs.token }} - name: actions-template-sync - uses: AndreasAugustin/actions-template-sync@v1.1.0 + uses: AndreasAugustin/actions-template-sync@v1.1.1 with: github_token: ${{ steps.generate_token.outputs.token }} source_repo_path: @@ -150,7 +150,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: actions-template-sync - uses: AndreasAugustin/actions-template-sync@v1.1.0 + uses: AndreasAugustin/actions-template-sync@v1.1.1 with: github_token: ${{ secrets.GITHUB_TOKEN }} source_repo_path: ${{ secrets.SOURCE_REPO_PATH }} # , should be within secrets diff --git a/src/sync_template.sh b/src/sync_template.sh index e7a4fb3a..223157dc 100644 --- a/src/sync_template.sh +++ b/src/sync_template.sh @@ -127,7 +127,7 @@ push_and_create_pr () { --body "Merge ${SOURCE_REPO_PATH} ${NEW_TEMPLATE_GIT_HASH}" \ --base "${UPSTREAM_BRANCH}" \ --label "${PR_LABELS}" \ - --reviewer "${{ PR_REVIEWERS }}" + --reviewer "${PR_REVIEWERS}" echo "::endgroup::" else warn "dry_run option is set to off. Skipping push changes and skip create pr"